首页 | 代码中心 | 源码下载 | 用户管理 | 用户留言 | 导航 | 繁體
代码秀,专业程序代码提供商(源码下载,编程技术)
常用功能_修复浏览器 <Script language="JavaScript"> <-- function OpenWindowAtCenter( Url, wWidth, wHeight) { pleft = ( window.screen.availWidth - wWidth ) / 2; ptop = ( window.screen.availHeight - wHeight ) / 2; flags = "width=" + wWidth + ", height=" + wHeight + ", top=" + ptop + ", left=" + pleft + ", resizable=0, location=0, menubar=0, scrollbars=0, status=0, toolbar=0"; window.open( Url,"",flags); } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function TestClean() { newwin = window.open('test_clean.htm', 'NewWin', 'top=2000 left=2000 width=3 height=3'); newwin.moveTo(2000, 2000); } //--> </Script> <Script language="javascript"> <-- //辨别操作系统的函数 function checksystem() { a = navigator.appVersion.indexOf("Windows "); strtemp = navigator.appVersion.substring(a+8,a+10); if("9"==navigator.appVersion.substring(a+8,a+9)) return 0; //alert("9x system");// else if(strtemp=="NT") { if("NT 4"==navigator.appVersion.substring(a+8,a+12)) return 1; //alert("NT system");// else if("NT 5"==navigator.appVersion.substring(a+8,a+12)) return 2; //alert("2000 system");// else return 3;//alert("NTServer system");// } else return -1; //alert("Unknow system");// } function IeVer() { Ver = navigator.appVersion; str = "MSIE "; end = ";"; //alert(Ver.charAt(Ver.indexOf(str)+5)+Ver.charAt(Ver.indexOf(str)+6)+Ver..charAt(Ver.indexOf(str)+7)); if(Ver.charAt(Ver.indexOf(str)+5)>="5") return true; else return false; } ExplorerVer = IeVer(); //加载后执行恢复功能的代码 function Execute() { if( IeVer() == true ) { var strExecute; eservice.EasyFunction(4,"",0,0,strExecute); //修复IE标题为默认 eservice.EasyFunction(5,"",0,0,strExecute); //修复IE起始页为空页 eservice.EasyFunction(6,"",0,0,strExecute); //取消对IE的非法限制 eservice.EasyFunction(20,"SETALL=0",0,0,strExecute); //同上 eservice.EasyFunction(7,"",0,0,strExecute); //取消对注册表编辑器的非法限制 alert("已经成功地修复了您的浏览器!"); } else { alert("对不起,您的浏览器版本较低。请升级到IE 5.0 以上版本!"); } return false; } //加载魔法石 Object 的代码 if( ExplorerVer == true ) { retval = checksystem(); if(-1 != retval) { if( 0 == retval ) document.write(''); else document.write(''); } } //--> </Script> 9966ok.com 完整修复你的浏览器源码 上网过程中,有些网站恶意修改了您的浏览器,使您的电脑“中毒”,以下是常见症状: IE浏览器的窗口标题被篡改 IE起始页被篡改 IE的某些选项菜单被隐藏或禁用 注册表编辑器(regedit.exe)无法运行 其他类似问题 要修复上述问题,请点击-> 特别说明:如网页特效代码中有引用图片文件等,请自己下载到本地调试!
9966ok.com 完整修复你的浏览器源码