Skip to content

Instantly share code, notes, and snippets.

@0gust1
Created April 25, 2012 13:55
Show Gist options
  • Save 0gust1/2489891 to your computer and use it in GitHub Desktop.
Save 0gust1/2489891 to your computer and use it in GitHub Desktop.
Javascript bookmarklet displaying all important Internet Explorer rendering informations
javascript:(function(){
var txtAlert='';
txtAlert+='Browser : '+window.navigator.appName+' '+window.navigator.appVersion+'\nUser-Agent : '+window.navigator.userAgent+'\nDocumentMode : '+document.documentMode+'\nCompatMode : '+document.compatMode;
//console.log(txtAlert);
alert(txtAlert);
})()
@0gust1
Copy link
Author

0gust1 commented May 18, 2012

tu use as a bookmarklet or to inject in server responses for debugging purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment