Skip to content

Instantly share code, notes, and snippets.

@piccaso
Created February 29, 2024 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piccaso/f0c0a77dccba67a06377b6f09830453b to your computer and use it in GitHub Desktop.
Save piccaso/f0c0a77dccba67a06377b6f09830453b to your computer and use it in GitHub Desktop.
ie mode detection
<html>
<head>
<title>ie mode</title>
</head>
<body>
<marquee>IE MODE</marquee>
</body>
<script>
window.setTimeout(function(){
window.ActiveXObject||document.documentMode||(document.body.innerHTML="<b style='color:red'>&Auml;tsch!</b>")
},0);
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment