No IE Users!
- Started
- Last post
- 16 Responses
- decisionman
Hey Hey Hey,
So I was thinking ... I want to block my site from IE users. It's not a commercial site ... it's not even good ... so I thought why not. Just for fun.
Googled it but to no avail ... any thoughts / leads?
Thanks!
Mark.
- ninjasavant0
Redirect all IE users to firefox.com?
- ********0
Javascript > Browser Sniffer > Redirect
- Meeklo0
ironically enough..your site crashed my browser
MBP (late '08) / os x 10.5 .5
safari 3.2.1- clicked on exhibit 02, then crashed.Meeklo
- hahahha********
- loldecisionman
- ********0
- YAYPaul0
http://jquery.com/
Check out the browser function.I'm using jQuery.browser.version<="6.0" to throw people who have IE6 a message. But you could just change it so that it includes all IE versions and then does what you like.
- cosmoo0
this is a nice to say "fuck off" to IE 6 users. IE 6 is only the real concern, any other browser is very easy to manage.
http://www.panic.com/coda/ (open in IE6)
- ********0
this works and ouputs a message to ie users, pure JS.
http://pastie.org/346915
- doctor0
Another way to do this, is to place this within your BODY tags:
<!--[if IE 6]>
IE6 HTML code here (other browsers won't parse it)...
<![endif]-->You can also use these conditional tags to show a special stylesheet, or a META tag etc., if you use them in your HEAD section in stead.
Example:
<!--[if IE 6]>
<META http-equiv="refresh" content="1;URL=http://www.lolcunt.com" />
<![endif]-->- Thanks man!decisionman
- I'm gonna try this one ... thanks!decisionman
- amullins0
HTML :
<!--[if IE 6]><div id="ie6_wrapper"><![endif]-->
<div id="wrapper">
<div id="ie6_content">ie6 content goes here</div>
<div id="content">content goes here</div>
</div>
<!--[if IE 6]></div><![endif]-->CSS :
div#ie6_content { display: none; }
div#ie6_wrapper div#ie6_content { display: block; }
div#ie6_wrapper div#content { display: none; }
- boobs0
Send them here:
- KwesiJ0
thats racist
- decisionman0
Thanks all!
- fusionpixel0
dont worry, if its not good no one will visit it so you are safe from IE, FF, Safari, Mac, PC, Linux and etc etc etc...
- decisionman0
Thanks, you fucking dickwad!
- fusionpixel0
hahaha, you said it not me.
<em>... it's not even good ... </em>
- decisionman0
I know :)