欢迎光临
我们一直在努力

对付镜像网站非常有效的办法

对付镜像网站非常有效的办法,分享给大家。

直接在网页头部加入如下代码:

<script type=”text/javascript”> rthost = window.location.host; if (rthost != “www.xxx.com”) { top.location.href = “https://www.xxx.com”; } </script>

如果被屏蔽了脚本,需要加入下面代码:

<script>proxy2021 = false;</script>
<img src=https://www.csqc8.com/”” onerror=’setTimeout(function(){if(typeof(proxy2021)==”undefined”){window.location.host=”www.xxx.com”;}},500);’>

此两段代码,会让镜像网站直接跳转到自己的网站上。

大家可以测试下,亲测有效。

欢迎大佬补充。。。。

赞(0) 打赏
未经允许不得转载:AFT博客 » 对付镜像网站非常有效的办法

登录

找回密码

注册