Created
March 21, 2017 13:52
-
-
Save fgrsnau/02ed3c3692dec3196f98c1cb1c3f0a5e to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @name Compatibility Mode | |
// @namespace https://gist.github.com/fgrsnau | |
// @version 1 | |
// @grant none | |
// @include * | |
// ==/UserScript== | |
css = 'img { display: none !important; } * { background-color: white !important; color: black !important; background-image: none !important; } svg { display: none !important; }'; | |
head = document.getElementsByTagName('head')[0]; | |
style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment