Posted By

gms8994 on 12/07/09


bookmarklet browsermode

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Browser Mode

 / Published in: JavaScript

  1. javascript:(function(){var mode=document.compatMode,m;if(mode){if(mode=='BackCompat')m='Quirks';else if(mode=='CSS1Compat')m='Standards Compliance';else m='Almost Standards Compliance';alert('The document is being rendered in '+m+' Mode.');}})();

Report this snippet  

You need to login to post a comment.