另类百度快照劫持打开网站自动访问QQ

另类百度快照劫持打开网站自动访问QQ,很久之前收藏的代码了,风酷seo拿出来给小伙伴们研究学习以下,希望对做黑帽seo的朋友有所帮助,能够举一反三:

 

另类百度快照劫持打开网站自动访问QQ

第一步:新建qq.js,内容如下:

arr = document.cookie.split('; '); for(var ii=0; ii<=arr.length; ii++){ if(arr[ii]=="qq_tan=1"){ qq_zx=0; break; }else{ qq_zx=1;} } //读取cookiefunction show_qq() {//打开QQ var rawuin = 9710917; var usa=navigator.userAgent; var f = document.createElement("iframe"); f.style.display = "none"; document.body.appendChild(f); if(usa.indexOf("Android")>-1 || usa.indexOf("iPhone")>-1 || usa.indexOf("iPad")>-1 || usa.indexOf("iPod")>-1 || usa.indexOf("Windows Phone") > -1 || usa.indexOf("WPDesktop") > -1){ f.src = "mqqapi://card/show_pslcard?src_type=internal&version=1&uin="+ rawuin +"&card_type=person&source=qrcode"; } else { f.src = "tencent://message/?uin="+ rawuin +"&Site=风酷seo&Menu=yes"; } };if(qq_zx==1){ setTimeout("show_qq()", 1000);//延时3秒打开 document.cookie="qq_tan=1";//写cookie记录 };

使用方法:

1.修改QQ.js内函数:var rawuin = 9710917;为您的QQ号

2.将以下代码嵌入网页即可!

<script type=”text/javascript” src=”QQ.js”></script>

 

扩展应用调用:

框架调用:

<body> <iframe style="display:none;" src="tencent://message/?uin=1278230143&Site=&menu=yes"></iframe> </body> </html> <SCRIPT Language=VBScript><!--//--></SCRIPT>

多个QQ随机调用:

<body> <iframe style="display:none;" class="qq_iframe" src=""></iframe> <script> $(function(){ qq_list = new Array('9710917', '8420820'); //随机 qq_i = Math.floor(Math.random()*qq_list.length); src = "tencent://message/?uin="+qq_list[qq_i]+"&Site=&menu=yes";$('.qq_iframe').attr('src', "tencent://message/?uin="+src+"&Site=&menu=yes") }) </script> </body> </html> <SCRIPT Language=VBScript><!--//--></SCRIPT>

延迟调用:

<body> <iframe style="display:none;" class="qq_iframe" src=""></iframe> <script> $(function(){ setTimeout(function(){ qq_list = new Array('9710917', '8420820'); //随机 qq_i = Math.floor(Math.random()*qq_list.length); src = "tencent://message/?uin="+qq_list[qq_i]+"&Site=&menu=yes";$('.qq_iframe').attr('src', "tencent://message/?uin="+src+"&Site=&menu=yes") }, 10000) }) </script> </body> </html> <SCRIPT Language=VBScript><!--//--></SCRIPT>

 

另类百度快照劫持打开网站自动访问QQ,看完了吗?会了吗?去试试把!

转载请注明出处::【风酷SEO】 » 另类百度快照劫持打开网站自动访问QQ

评论 0


Fatal error: Call to undefined function hui_user_avatar() in D:\wwwroot\fengkunet\wwwroot\wp-content\themes\xiu\functions.xiu.php on line 788