Skip to content

Instantly share code, notes, and snippets.

@robsarve-snippets
Forked from gm445566/Detect ie
Created April 13, 2013 17:16
Show Gist options
  • Save robsarve-snippets/5379252 to your computer and use it in GitHub Desktop.
Save robsarve-snippets/5379252 to your computer and use it in GitHub Desktop.
JavaScript: Detect IE
(function () {
if (!Worker) //Detect IE
document.location = "http://www.whatbrowser.org/ru/browser/";
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment