Files
beef/modules/beefjs/os.js
mosse.benjamin b9c3804e19 removing alert dialog
git-svn-id: https://beef.googlecode.com/svn/trunk@558 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-11-22 03:11:13 +00:00

15 lines
239 B
JavaScript

beef.os = {
ua: navigator.userAgent,
isWin311: function() {
return (this.ua.indexOf("Win16")) ? true : false;
},
isWinXP: function() {
return this.ua.match('(Windows NT 5.1)|(Windows XP)');
}
};
beef.regCmp('beef.net.os');