Reading this article I\'ve found a following piece of code:
if (\'v\'==\'\\v\') { // Note: IE listens on document
document.attachEvent(\'onstorage\', onS
You can check for Trident, IE's engine, by the following:
var trident = !!window.ActiveXObject;
As stated on MSDN it is only supported in IE.
Edit:
Note: above code returns false in IE-11, If you want to detect also IE-11 use this:
var isIE = "ActiveXObject" in window; //window.ActiveXObject !== undefined;