pc.yzdown.com 脚本展示
检测页面来源
以下代码加入<head>区域
以下代码加入<body>区域
<script language=""> <!-- function check(){ //remove this line to use the script for real var from = document.referrer var here = "http://pc.yzdown.com" //Change this to your site alert("From:"+from);//remove this line to use the script for real alert("Here:"+here);//remove this line to use the script for real if (from.substring(0,here.length) != here) history.back() else document.location.replace('http://pc.yzdown.com'); //Page to go to if OK }//remove this line to use the script for real //--> </script> <form> <input type=button value="Check" onClick="check()" name="button"> </form>
可能某段代码会由于COPY时的不小心以至不能正常显示,如发现此情况,请告知 pc.yzdown.com