⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radbrowser.js

📁 Telerik是很大的第三方软件制造商
💻 JS
字号:
if (typeof(RadBrowserUtils)=="\x75\x6edefined"){var RadBrowserUtils= {Version: "1\x2e0.0",IsInitialized: false ,IsOsWindows: false ,IsOsLinux: false ,IsOsUnix: false ,IsOsMac: false ,IsUnknownOS: false ,IsNetscape4: false ,IsNetscape6: false ,IsNetscape6Plus: false ,IsNetscape7: false ,IsNetscape8: false ,IsMozilla: false ,IsFirefox: false ,IsSafari: false ,IsIE: false ,IsIEMac: false ,IsIE5Mac: false ,IsIE4Mac: false ,IsIE5Win: false ,IsIE55Win: false ,IsIE6Win: false ,IsIE4Win: false ,IsOpera: false ,IsOpera4: false ,IsOpera5: false ,IsOpera6: false ,IsOpera7: false ,IsOpera8: false ,IsKonqueror: false ,IsOmniWeb: false ,IsCamino: false ,IsUnknownBrowser: false ,UpLevelDom: false ,AllCollection: false ,Layers: false ,Focus: false ,StandardMode: false ,HasImagesArray: false ,HasAnchorsArray: false ,DocumentClear: false ,AppendChild: false ,InnerWidth: false ,HasComputedStyle: false ,HasCurrentStyle: false ,HasFilters: false ,HasStatus: false ,Name: "",Codename: "",BrowserVersion: "",Platform: "",JavaEnabled: false ,ScreenWidth: 0,ScreenHeight: 0,AgentString: "",O:function (){if (window.navigator){ this.AgentString=navigator.userAgent.toLowerCase(); this.Name=navigator.appName; this.Codename=navigator.appCodeName; this.BrowserVersion=navigator.appVersion.substring(0,4); this.Platform=navigator.platform; this.JavaEnabled=navigator.javaEnabled(); this.ScreenWidth=screen.width; this.ScreenHeight=screen.height; } this.o(); this.Y(); this.I(); this.IsInitialized= true; } ,A:function (){ this.IsIE=this.IsIE6Win=this.IsIE55Win=this.IsIE5Win=this.IsIE4Win=this.IsIEMac=this.IsIE5Mac=this.IsIE4Mac= false; } ,U:function (){ this.IsOpera4=this.IsOpera5=this.IsOpera6=this.IsOpera7= false; } ,Z:function (){ this.IsFirefox=this.IsMozilla=this.IsNetscape7=this.IsNetscape6Plus=this.IsNetscape6=this.IsNetscape4= false; } ,o:function (){if ((this.AgentString.indexOf("win")!=-1)){ this.IsOsWindows= true; }else if ((this.AgentString.indexOf("\x6d\x61c")!=-1) || (navigator.appVersion.indexOf("mac")!=-1)){ this.IsOsMac= true; }else if ((this.AgentString.indexOf("linux")!=-1)){ this.IsOsLinux= true; }else if ((this.AgentString.indexOf("x\x311")!=-1)){ this.IsOsUnix= true; }else { this.IsUnknownBrowser= true; }} ,Y:function (){if ((document.getElementById && document.createElement)){ this.UpLevelDom= true; }if (document.all){ this.AllCollection= true; }if (document.layers){ this.Layers= true; }if (window.focus){ this.Focus= true; }if (document.compatMode && document.compatMode=="\x43SS1Compat"){ this.StandardMode= true; }if (document.images){ this.HasImagesArray= true; }if (document.anchors){ this.HasAnchorsArray= true; }if (document.clear){ this.DocumentClear= true; }if (document.appendChild){ this.AppendChild= true; }if (window.innerWidth){ this.InnerWidth= true; }if (window.getComputedStyle){ this.HasComputedStyle= true; }if (document.documentElement && document.documentElement.currentStyle){ this.HasCurrentStyle= true; }else if (document.body && document.body.currentStyle){ this.HasCurrentStyle= true; }if (document.body && document.body.filters){ this.HasFilters= true; }if (typeof(window.status)!="un\x64\x65fine\x64"){ this.HasStatus= true; }} ,I:function (){if (this.AllCollection || (navigator.appName=="Microso\x66\x74 In\x74ernet E\x78plorer")){ this.IsIE= true; if (this.IsOsWindows){if (this.UpLevelDom){if ((navigator.appVersion.indexOf("\x4dSIE 6")>0) || (document.getElementById && document.compatMode)){ this.IsIE6Win= true; }else if ((navigator.appVersion.indexOf("\x4dSI\x45\x205.5")>0) && document.getElementById && !document.compatMode){ this.IsIE55Win= true; this.IsIE6Win= true; }else if (document.getElementById && !document.compatMode && typeof(window.opera)=="\x75ndefined"){ this.IsIE5Win= true; }}else { this.IsIE4Win= true; }}else if (this.IsOsMac){ this.IsIEMac= true; if (this.UpLevelDom){ this.IsIE5Mac= true; }else { this.IsIE4Mac= true; }}}if (this.AgentString.indexOf("\x6fpera")!=-1 && typeof(window.opera)=="undefined"){ this.IsOpera4= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="undefined" && !typeof(window.print)=="un\x64efined"){ this.IsOpera5= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="\x75\x6edefined" && typeof(window.print)!="\x75\x6edefined" && typeof(document.childNodes)=="\x75ndefi\x6e\x65d"){ this.IsOpera6= true; this.IsOpera= true; this.A(); }else if (typeof(window.opera)!="unde\x66\x69ned" && typeof(document.childNodes)!="\x75ndefine\x64"){ this.IsOpera7= true; this.IsOpera= true; this.A(); }if (this.IsOpera7 && (this.AgentString.indexOf("8.")!=-1)){ this.A(); this.U(); this.IsOpera8= true; this.IsOpera= true; }if (this.AgentString.indexOf("\x66\x69refox/")!=-1){ this.A(); this.U(); this.IsMozilla= true; this.IsFirefox= true; }else if (navigator.product=="\x47ecko" && window.z){ this.A(); this.U(); this.IsMozilla= true; }if (navigator.vendor && navigator.vendor.indexOf("\116\x65\164sca\x70\x65")!=-1 && navigator.product=="Gecko" && window.z){ this.A(); this.U(); this.IsNetscape6Plus= true; this.IsMozilla= true; }if (navigator.product=="\x47ecko" && !window.z){ this.A(); this.U(); this.IsNetscape6= true; }if ((navigator.vendor && navigator.vendor.indexOf("Net\x73\x63ape")!=-1 && navigator.product=="\x47ecko" && window.z) || (this.AgentString.indexOf("netscap\x65\x2f7")!=-1 || this.AgentString.indexOf("\x6e\x65tscape7")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape7= true; }if ((navigator.vendor && navigator.vendor.indexOf("Netscape")!=-1 && navigator.product=="\x47\x65cko" && window.z) || (this.AgentString.indexOf("\x6e\145ts\x63\x61pe/8")!=-1 || this.AgentString.indexOf("\x6e\x65tscape8")!=-1)){ this.A(); this.U(); this.Z(); this.IsMozilla= true; this.IsNetscape8= true; }if (navigator.vendor && navigator.vendor=="\x43amino"){ this.A(); this.U(); this.IsCamino= true; this.IsMozilla= true; }if (((navigator.vendor && navigator.vendor=="KDE") || (document.childNodes) && (!document.all) && (!navigator.taintEnabled))){ this.A(); this.U(); this.IsKonqueror= true; }if ((document.childNodes) && (!document.all) && (!navigator.taintEnabled) && (navigator.X)){ this.A(); this.U(); this.IsOmniWeb= true; }else if (document.layers && navigator.mimeTypes["*"]){ this.A(); this.U(); this.IsNetscape4= true; }if ((document.childNodes) && (!document.all) && (!navigator.taintEnabled) && (!navigator.X)){ this.A(); this.U(); this.IsSafari= true; }else {IsUnknownBrowser= true; }} ,W:function (){var w="\x49\x73Netscape\x34 "+this.IsNetscape4+"\x0a"; w+="IsNet\x73\x63ape6 "+this.IsNetscape6+"\x0a"; w+="\x49sNetsc\x61\x70e6P\x6c\x75s "+this.IsNetscape6Plus+"\012"; w+="I\x73\x4eetscap\x65\067 "+this.IsNetscape7+"\012"; w+="\x49sNetsca\x70\x658 "+this.IsNetscape8+"\x0a"; w+="\x49sMozill\x61\x20"+this.IsMozilla+"\012"; w+="I\x73\x46irefox "+this.IsFirefox+"\012"; w+="\x49\163Saf\x61\x72i "+this.IsSafari+"\x0a"; w+="\x49sIE "+this.IsIE+"\x0a"; w+="IsIEMac\x20"+this.IsIEMac+"\012"; w+="IsIE5M\x61\x63 "+this.IsIE5Mac+"\x0a"; w+="IsIE4\x4d\x61c "+this.IsIE4Mac+"\012"; w+="\x49sIE5Win\x20"+this.IsIE5Win+"\012"; w+="\x49sIE55W\x69\x6e "+this.IsIE55Win+"\012"; w+="IsI\x45\x36Win "+this.IsIE6Win+"\012"; w+="\x49sIE4Win "+this.IsIE4Win+"\012"; w+="IsOpera "+this.IsOpera+"\012"; w+="\x49sOpera4 "+this.IsOpera4+"\x0a"; w+="\x49sOpera5 "+this.IsOpera5+"\x0a"; w+="IsOper\x61\x36 "+this.IsOpera6+"\x0a"; w+="IsOpera\x37\x20"+this.IsOpera7+"\012"; w+="IsOpe\x72\x618 "+this.IsOpera8+"\x0a"; w+="IsKonqueror\x20"+this.IsKonqueror+"\012"; w+="IsO\x6d\x6eiWeb "+this.IsOmniWeb+"\012"; w+="\111s\x43\x61mino "+this.IsCamino+"\x0a"; w+="IsUnknownB\x72\x6fwser\x20"+this.IsUnknownBrowser+"\012"; alert(w); } ,V:function (){var v="IsOsWin\x64\x6fws "+this.IsOsWindows+"\x0a"; v+="I\x73\x4fsLinux "+this.IsOsLinux+"\x0a"; v+="IsOsUnix "+this.IsOsUnix+"\x0a"; v+="IsOs\x4d\x61c "+this.IsOsMac+"\x0a"; v+="\x49sUnkn\x6f\x77nOS "+this.IsUnknownOS+"\x0a"; alert(v); } ,T:function (){var t="UpLe\x76\x65lDom "+this.UpLevelDom+"\x0a"; t+="\x41\154lCo\x6c\x6cecti\x6f\x6e "+this.AllCollection+"\012"; t+="L\x61\x79ers "+this.Layers+"\x0a"; t+="Focus "+this.Focus+"\012"; t+="St\x61\x6edardMo\x64\x65 "+this.StandardMode+"\x0a"; t+="H\x61\x73ImagesA\x72\x72ay "+this.HasImagesArray+"\012"; t+="\x48asAnchors\x41\x72ray "+this.HasAnchorsArray+"\012"; t+="\x44ocumentC\x6c\x65ar "+this.DocumentClear+"\012"; t+="\x41\x70pendCh\x69\x6cd "+this.AppendChild+"\012"; t+="\x49nnerWidth "+this.InnerWidth+"\x0a"; t+="HasCompute\x64\x53tyle\x20"+this.HasComputedStyle+"\012"; t+="\x48\x61sCurr\x65\x6etSt\x79\x6ce "+this.HasCurrentStyle+"\012"; t+="\x48asFilt\x65\x72s "+this.HasFilters+"\x0a"; t+="\x48asStatu\x73\x20"+this.HasStatus+"\x0a"; alert(t); }};RadBrowserUtils.O(); }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -