tray/src/messenger/webim/js/brws.js

1 line
646 B
JavaScript
Raw Normal View History

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);}