Javascript/Compatibility trick for IE8

While researching the different compatibility modes in Internet Explorer 8 I found this cool thing that you can paste into the address bar and it will tell you what compatibility version the browser is using on the current page:

javascript:alert(document.documentMode);

Leave a Reply

Your email address will not be published.