Skip to content

Instantly share code, notes, and snippets.

@iirelu
Last active August 29, 2015 13:57
Show Gist options
  • Save iirelu/9903527 to your computer and use it in GitHub Desktop.
Save iirelu/9903527 to your computer and use it in GitHub Desktop.
A bookmark that makes eye-hurting sites easier to read.
javascript:(function(d) {
var e = d.createElement("style");
e.innerText = "*{background: #efefef !important; color: #121212 !important;}";
d.head.appendChild(e);
}(document));
@iirelu
Copy link
Author

iirelu commented Mar 31, 2014

Minified:

javascript:(function(d){var e=d.createElement("style");e.innerText="*{background:#efefef!important;color:#121212!important;}";d.head.appendChild(e)}(document))

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