|
|
发表于 2010-9-22 12:59:56
|
显示全部楼层
我记得user-agent里有360se的吧,根据这个封好了
js- if(/360se/i.test(window.navigator.userAgent)) {
- alert("本站不允许360浏览器访问");
- top.location.href="/ban_360.html";
- }
复制代码 或者
php- <?php
- if( preg_match('/360se/i',$_SERVER["HTTP_USER_AGENT"])) {
- header("Location:/ban_360.html");
- exit;
- }
复制代码 |
|