Created
November 15, 2010 04:02
-
-
Save kentbrew/700014 to your computer and use it in GitHub Desktop.
A simple way to filter users of old IE browsers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> | |
<title>Browser Not Supported</title> | |
<meta content='text/html;charset=UTF-8' http-equiv='Content-Type'> | |
<style type='text/css'> | |
body { | |
color:#fff; | |
background:#00f; | |
text-align:center; | |
font-family: 'Courier New', Courier, monospace; | |
} | |
div { | |
width:600px; | |
margin:20px auto; | |
border:2px solid #ff0; | |
padding: 10px 30px; | |
text-align:left; | |
font-family:courier; | |
} | |
a { | |
color:#ff0; | |
font-weight:bold; | |
} | |
li { | |
margin-top: 10px; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<h1>Browser Not Supported</h1> | |
<p>Sorry, this site doesn't support older versions of Internet Explorer, because they are dreadfully insecure.</p> | |
<p>To fix this, please do one of the following:</p> | |
<ul> | |
<li>Use <a href="http://mozilla.com/firefox">Firefox</a>, <a href="http://google.com/chrome">Chrome</a>, <a href="http://apple.com/safari/download">Safari</a>, or <a href="http://opera.com">Opera</a>.</li> | |
<li>Upgrade <a href="http://www.microsoft.com/windows/internet-explorer/">Internet Explorer</a> to at least version 8.</li> | |
<li>Install <a href="http://code.google.com/chrome/chromeframe">Chrome Frame</a>.</li> | |
<li>Quit masquerading as Internet Explorer. (We're looking at you, Opera 7.)</li> | |
</ul> | |
<p>Very sorry for the trouble,</p> | |
<p><a href="http://blog.yoursite.com">Your Site Team Blog</a></p> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lte IE 7]> | |
<style>html{display:none!important;}</style> | |
<META http-equiv="refresh" content="0;URL=http://yoursite.com/aiee.html"> | |
<![endif]--> |
If you don't want to run your own noaiee page, feel free to point your redirects at http://noaiee.com.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Happy to finally be able to use this. :)