Created
March 21, 2023 16:57
-
-
Save Tynael/b88affc05b255319d0e1b6c97d9e21b8 to your computer and use it in GitHub Desktop.
Find out if a web page has been rendered in Quirks mode or not
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Run this in your browser's console. | |
"BackCompat" - means the web page has been rendered in Quirks mode | |
"CSS1Compat" - the web page has NOT been rendered in Quirks mode | |
*/ | |
document.compatMode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example used for https://neutrondev.com/what-is-doctype-html/