<script>
if(navigator.appName!="Microsoft Internet Explorer"){
window.opener=null
window.close()
}
<script>
if(navigator.appName!="Microsoft Internet Explorer"){
window.opener=null
window.close()
}
<script>
调试欢乐多
contents="<body bgcolor=red><font color=white>欢迎来到***,请使用IE登陆本站!</font></body>"
pop=window.open("","_blank","width=200,height=100");
pop.document.writeln(contents);
if(pop.document.body.clientWidth!=200||pop.document.body.clientHeight!=100)
top.location.href="../exit.asp"
</script>这个代码加在页首,能屏蔽腾讯和MYIE2.0进入!
http://expert.csdn.net/Expert/topic/2181/2181637.xml?temp=.7681085
<%
if Instr(UCASE(Request.ServerVariables("HTTP_USER_AGENT")),"MSIE") = 0 then
Response.Redirect "NonIE.html"
end if
%>http://www.aspfaq.com/show.asp?id=2184
>>>思歸的方法^_^
{
alert("请用IE");
window.close();
}
else
window.location.href = "hehe.html";
用IE进这个页面标题是:世纪江湖 - Microsoft Internet Explorer
用MYIE进这个页面标题是:MYIE - Microsoft Internet Explorer - [世纪江湖]可不可以判断整个标题来区分它们?甚至直接判断MYIE标题上的[ ]来屏蔽它!具体代码如何写?还望高手继续探讨,解决!谢谢!