]>
git.rmz.io Git - dotfiles.git/blob - dwb/greasemonkey/darken.user.js
5 // Released to the public domain.
9 // @description Turns a web pages' background Grey and text White for readability.
11 // @exclude https://plus.google.com/hangouts/*
12 // @exclude https://www.humblebundle.com/*
13 // @exclude https?://steamcommunity.com/*
14 // @exclude https?://imgur.com/*
17 // ==RevisionHistory==
19 // Released: 2007-05-10.
21 // ==/RevisionHistory==
25 var styles
=':not(img) { background-color: #201F1F ! important; color: #D4D2CF ! important; } :link, :link * { color: #719696 !important; } :visited, :visited * { color: #666665 !important; } .tagContainer { display: none }';
26 if(document
.createStyleSheet
) {
27 document
.createStyleSheet("javascript:'"+styles
+"'");
29 newSS
=document
.createElement('link');
30 newSS
.rel
='stylesheet';
31 newSS
.href
='data:text/css,'+escape(styles
);
32 document
.getElementsByTagName("head")[0].appendChild(newSS
);