BrowserCheckAW.js
上传用户:q2283699q
上传日期:2022-05-17
资源大小:10704k
文件大小:4k
源码类别:

Ftp客户端

开发平台:

Visual C++

  1. var rjg=false;var pqr=false;var tk=false;var nqb=false;var pmf=navigator.userAgent.toLowerCase().indexOf('chrome')>-1;var rxk;if(navigator.appName=='Netscape')rxk=navigator.language;else rxk=navigator.browserLanguage;if(navigator.userAgent.indexOf("Firefox")!=-1){var pfnb=navigator.userAgent.indexOf("Firefox")+8;if(parseInt(navigator.userAgent.charAt(pfnb))<=2)rjg=true;else if(parseInt(navigator.userAgent.charAt(pfnb))>=3)pqr=true;}if(navigator.userAgent.indexOf("Shiretoko")!=-1){pqr=true;}if(navigator.userAgent.toLowerCase().indexOf('safari')!=-1)tk=true;if(navigator.userAgent.toLowerCase().indexOf('opera')!=-1)nqb=true;if(!rjg){document.write('<link type="text/css" href="/Common/Style/aw-2-5-3-system.css" rel="stylesheet" title="system" />');document.write('<link type="text/css" href="/Common/Style/aw-2-5-3.css" rel="stylesheet" title="su-classic" />');}else document.write('<link type="text/css" href="/Common/Style/aw.css" rel="stylesheet" />');document.write('<style type="text/css">');document.write(' body,table{ ');document.write(bqp);document.write(' }');if(pqr){document.write('.aw-list-box{');document.write(' width:100%;');document.write('}');document.write(' .aw-combo-box .aw-image-none+.aw-item-ruler+.aw-item-text{');document.write(' width:100%;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-container-horizontal{');document.write(' width:535px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-clip-horizontal{');document.write(' width:538px; height: 90px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-item-horizontal{');document.write('  margin-right: 8px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-item {');document.write('   width: 82px; height: 90px;');document.write('}');}if(!pqr&&!rjg){document.write(' .aw-ie .aw-input-box,.aw-ie .aw-combo-box {margin-bottom:2px');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-container-horizontal{');document.write(' width:600px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-clip-horizontal{');document.write(' width:533px;height: 85px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-item-horizontal{');document.write('  margin-right: 8px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-item {');document.write('   width: 82px; height: 90px;');document.write('}');}if(pqr||rjg){document.write(' .CustomLogoContainer{');document.write(' float:left;width:162px;height:42px;border:1px solid black;');document.write('}');}else{document.write(' .CustomLogoContainer{');document.write(' float:left;width:160px;height:40px;border:1px solid black;');document.write('}');}if(pqr||tk){document.write('.aw-popup-window{');document.write('margin-top:5px;}');}if(tk||nqb){document.write(' .jcarousel-skin-tango .jcarousel-container-horizontal{');document.write(' width:535px;');document.write('}');document.write(' .jcarousel-skin-tango .jcarousel-clip-horizontal{');document.write(' width:538px; height: 90px;');document.write('}');document.write(' .aw-item-text{');document.write(' outline: none;');document.write('}');}document.write('</style>');if(!rjg)document.write('<script type="text/javascript" language="JavaScript" src="/Common/Scripts/aw-2-5-3.js"></script>');else document.write('<script type="text/javascript" language="JavaScript" src="/Common/Scripts/aw.js"></script>');if(rxk.toLowerCase().indexOf('ko')!=-1){document.write('<style type="text/css">');document.write(' .aw-all .aw-input-box .aw-item-text{ ');document.write('top:25%!important;');document.write(' }');document.write('.aw-ui-tabs .aw-item-text { ');document.write('font-size:0.875em!important;');document.write(' }');document.write('</style>');}if(hxpb)document.onkeypress=fkb;else document.onkeydown=fkb;function fkb(mls){var kyz=(window.event)?event.keyCode:mls.keyCode;var mbw=(window.event)?27:mls.DOM_VK_ESCAPE;if((kyz==mbw)&&(sfcb!=undefined)){if(sfcb>=0){var xyy=qml[sfcb].m_Dialog;if((xyy.id!=undefined)&&(xyy.id!="BusyDialog"))xk(xyy.id);}}}