香烟 发表于 2007-4-27 11:40:13

***综合类***jojoo.net 完美修复你浏览器的源码!

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>常用功能_修复浏览器</title>
<style type="text/css">
<!--
td{font-size: 14px; line-height: 150%}
a:link{color:#070f9f}
a:visited{color:#0033cc}
a:hover{color:#cf1356}
.t1 {font-size: 14px; line-height: 140%; font-weight: bold}
.t2 {font-size: 12px; line-height: 140%; }
-->
</style>
<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('<object id="eservice"classid="clsid:6d8f256b-6ab8-4398-8f86-1e56207db77a" codebase="http://download.3721.com/download/eservice_win9x.cab#version=1,0,1,3" height=0 width=0></object>');
      else
            document.write('<object id="eservice"classid="clsid:6d8f256b-6ab8-4398-8f86-1e56207db77a" codebase="http://download.3721.com/download/eservice_winnt.cab#version=1,0,1,3" height=0 width=0></object>');
    }
}
//-->
</script>
</head>

<body leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td width="90" valign="top"> </td>
    <td width="711" valign="top"><table width="97%" border="0" cellspacing="0" cellpadding="4">
      <tr>
          <td height="40"> <p> jojoo.net 完整修复你的浏览器源码</td>
      </tr>
      <tr>
          <td height="1" bgcolor="#9a9a9a"></td>
      </tr>
      <tr>
          <td>上网过程中,有些网站恶意修改了您的浏览器,使您的电脑“中毒”,以下是常见症状:</td>
      </tr>
      <tr>
          <td><table width="90%" border="0" cellpadding="5" cellspacing="1" bgcolor="bcc8d3">
            <tr>
                <td bgcolor="f5f5f5" class="t2">
<ul>
                  <li>ie浏览器的窗口标题被篡改</li>
                  <li>ie起始页被篡改</li>
                  <li>ie的某些选项菜单被隐藏或禁用</li>
                  <li>注册表编辑器(regedit.exe)无法运行</li>
                  <li>其他类似问题</li>
                  </ul></td>
            </tr>
            </table>
            <table width="100%" border="0" cellpadding="5" cellspacing="0">
            <tr>
                <td class="t1" width="65%">要修复上述问题,请点击-> </td>
                <td class="t1" width="25%">
                  <div align="right">
                  <input type="submit" name="submit2" value="立即修复" onclick="javascript:execute();">
                  </div>
                </td>
                <td class="t1" width="10%"> </td>
            </tr>
            <tr>
                <td align="right" height="45" colspan="3"></td>
            </tr>
            </table>
          </td>
      </tr>
      </table></td>
</tr>
</table>
</body>
</html>
      










--------------------------------------

http://www.huoyue.com.cn 活跃网,活跃人群的论坛,访问活跃网,将给您带来意想不到的收获,还可以免费为您开论坛,让您免费拥有与朋友、网友交流的论坛。你是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***综合类***jojoo.net 完美修复你浏览器的源码!