18、右键自动连接代码

18、右键自动连接代码

脚本说明:

 

把如下代码加入<body>区域中

 

<script language=JavaScript>

 

 

 

if (navigator.appName.indexOf("Internet Explorer") != -1)      

 

       document.onmousedown = noSourceExplorer;

 

      

 

function noSourceExplorer()

 

{

 

       if (event.button == 2 | event.button == 3)

 

       {

         alert("现在正在打开冰峰山庄网页特效代码");

 

              location.replace("http://www.7stk.com");

 

       }

 

}

 

</script>

 

Write a comment

Comments: 1
  • #1

    www.n8dj.com (Monday, 23 November 2009 23:13)

    www.n8dj.com