开发者

Ban Internet Explorer IE script

开发者 https://www.devze.com 2023-01-13 00:25 出处:网络
I know some sites like www.me.com bans IE6. It works when开发者_高级运维 the page detects IE6 browser, it would trigger a DIV to let the user know the first time he accesses the website. Then the user

I know some sites like www.me.com bans IE6. It works when开发者_高级运维 the page detects IE6 browser, it would trigger a DIV to let the user know the first time he accesses the website. Then the user closes, that notice won't appear again (at least for that session recorded in the cookie).

Where can I get such script?


IE 6 Blocker Script

Ban Internet Explorer IE script


See this answer for identifying browser, everything else is just jquery to add a div to the DOM and allow functionality for the user to close that. You could then write to the cookie to say warning has been shown.


I have found a script to do so:

IE6 No More

It works well, but it displays everytime a new page is presented. No cookie track whatsoever. I am still looking for one that display only once.


I wrote this to add to my web sites.

<script type="text/javascript" src="http://aquawicket.com/noie.js"></script> 
<script> noie(); </script>
0

精彩评论

暂无评论...
验证码 换一张
取 消