]> git.rmz.io Git - dotfiles.git/blob - dwb/greasemonkey/darken.user.js
use darken instead of ponyhoof
[dotfiles.git] / dwb / greasemonkey / darken.user.js
1 // Darken
2 // version 0.1
3 // Gina Trapani
4 // 2007-05-10
5 // Released to the public domain.
6 //
7 // ==UserScript==
8 // @name Darken
9 // @description Turns a web pages' background Grey and text White for readability.
10 // @include *
11 // @exclude https://plus.google.com/hangouts/*
12 // @exclude https://www.humblebundle.com/*
13 // @exclude https?://steamcommunity.com/*
14 // @exclude https?://imgur.com/*
15 // ==/UserScript==
16 //
17 // ==RevisionHistory==
18 // Version 0.1:
19 // Released: 2007-05-10.
20 // Initial release.
21 // ==/RevisionHistory==
22
23 (function(){
24 var newSS;
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+"'");
28 } else {
29 newSS=document.createElement('link');
30 newSS.rel='stylesheet';
31 newSS.href='data:text/css,'+escape(styles);
32 document.getElementsByTagName("head")[0].appendChild(newSS);
33 }
34 })();
35 //.user.js