防K站框架跳转代码

pc端跳转

document.writeln("document.write(\"<frameset rows=\'100%,*\'frameborder=\'NO\'border=\'0\'framespacing=\'0\'>\");");

document.writeln("document.write(\"<frame name=\'main\'src=\'http://www.zhizhuowz.com/'scrolling=yes>\");");

document.writeln("document.write(\"<\/frameset>\");");

document.writeln("<\/script>");

 

网页手机端跳转

<script type="text/javascript">

if(/Andorid|webOS|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent)){

if(window.location.href.indexOf("?pc")<0){try{window.location.href="http:/www.zhizhuowz.com/"}

catch(e){}}}</script>

posted @ 2019-11-16 12:36  洪雨  阅读(395)  评论(0编辑  收藏  举报

友情链接

洪雨营销