]> git.rmz.io Git - dotfiles.git/blobdiff - dwb/greasemonkey/darken.user.js
dwb: use perdomainsettings to set user-stylsheet
[dotfiles.git] / dwb / greasemonkey / darken.user.js
diff --git a/dwb/greasemonkey/darken.user.js b/dwb/greasemonkey/darken.user.js
deleted file mode 100644 (file)
index 280cb98..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Darken
-// version 0.1
-// Gina Trapani
-// 2007-05-10
-// Released to the public domain.
-//
-// ==UserScript==
-// @name          Darken
-// @description   Turns a web pages' background Grey and text White for readability.
-// @include       *
-// @exclude       https?://plus.google.com/hangouts/*
-// @exclude       https?://www.humblebundle.com/*
-// @exclude       https?://steamcommunity.com/*
-// @exclude       https?://*steampowered.com/*
-// @exclude       https?://imgur.com/*
-// @exclude       https?://*playstarbound.com/*
-// ==/UserScript==
-//
-// ==RevisionHistory==
-// Version 0.1:
-// Released: 2007-05-10.
-// Initial release.
-// ==/RevisionHistory==
-
-(function(){
-    var newSS;
-    var styles=':not(img) { background-color: #201F1F ! important; color: #D4D2CF ! important; } :link, :link * { color: #719696 !important; } :visited, :visited * { color: #666665 !important; } .tagContainer { display: none }';
-    if(document.createStyleSheet) {
-        document.createStyleSheet("javascript:'"+styles+"'");
-    } else {
-        newSS=document.createElement('link');
-        newSS.rel='stylesheet';
-        newSS.href='data:text/css,'+escape(styles);
-        document.getElementsByTagName("head")[0].appendChild(newSS);
-    }
-})();
-//.user.js