]> git.rmz.io Git - dotfiles.git/blob - dwb/greasemonkey/darken.user.js
add some more @excludes
[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?://*steampowered.com/*
15 // @exclude https?://imgur.com/*
16 // @exclude https?://*playstarbound.com/*
17 // ==/UserScript==
18 //
19 // ==RevisionHistory==
20 // Version 0.1:
21 // Released: 2007-05-10.
22 // Initial release.
23 // ==/RevisionHistory==
24
25 (function(){
26 var newSS;
27 var styles=':not(img) { background-color: #201F1F ! important; color: #D4D2CF ! important; } :link, :link * { color: #719696 !important; } :visited, :visited * { color: #666665 !important; } .tagContainer { display: none }';
28 if(document.createStyleSheet) {
29 document.createStyleSheet("javascript:'"+styles+"'");
30 } else {
31 newSS=document.createElement('link');
32 newSS.rel='stylesheet';
33 newSS.href='data:text/css,'+escape(styles);
34 document.getElementsByTagName("head")[0].appendChild(newSS);
35 }
36 })();
37 //.user.js