tray/src/messenger/webim/js/brws.js
Evgeny Gryaznov 320d9784be script, project file, regenerated js
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@128 c66351dc-e62f-0410-b875-e3a5c0b9693f
2008-09-29 23:43:03 +00:00

1 line
646 B
JavaScript

var myAgent="";var yj=0;var myRealAgent="";function zj(){var $j=["\u006f\u0070\145r\141","\155\u0073\u0069e","\u0073\141\146a\162i","fire\146\u006f\170","\u006eets\143\u0061\u0070\u0065","m\u006f\172illa"];var sj=navigator.userAgent.toLowerCase();for(var i=0;i<$j.length;i++){var _j=$j[i];if(sj.indexOf(_j)!=-1){myAgent=_j;if(!window.RegExp)break;var mk=new RegExp(_j+"\133\040\/\u005d?\050\1330\u002d9]+\u0028\.\1330-\u0039]+)?)");if(mk.exec(sj)!=null){yj=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="\107\145\u0063\153\u006f")myAgent="mo\u007a";} zj();function getEl(name){return document.getElementById(name);}