Last active
December 19, 2015 21:18
-
-
Save nfroidure/6019151 to your computer and use it in GitHub Desktop.
Supporting old Internet Explorer versions easily
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
<html><head> | |
<!--[if lt IE 8]><script type="text/javascript"> | |
alert('Ooops, you are using an old browser. Please come back with a more recent one.'); | |
document.location.href="http://thewebyoumiss.com/?referer=example.com" | |
+"&preview=example.com/images/preview.png" | |
+"&preview=youtube.com/qs545qsd"; | |
</script><![endif]--> | |
</head><body> | |
<p>The fantastic app you could miss with old browsers.</p> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<!--[if lt IE 8]><script type="text/javascript">/*1*/</script><![endif]-->
1.