Created
March 25, 2016 11:36
-
-
Save cassdeckard/878d4f8be4ff41050b35 to your computer and use it in GitHub Desktop.
IE Compatibility Mode test page
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>IE Compatibility Test</title> | |
| </head> | |
| <body> | |
| <h1 id="test-h1"></h1> | |
| <script> | |
| var jsonSupported = (typeof JSON !== 'undefined'); | |
| var h1 = document.getElementById('test-h1'); | |
| h1.innerText = 'Compatibility mode: ' + (jsonSupported ? 'OFF' : 'ON'); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment