From: Samir Benmendil Date: Sat, 4 Jan 2014 00:29:43 +0000 (+0100) Subject: change to unix EOL X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/d09d39fe71eaab22f426a0f1d1964d142d182037?ds=sidebyside change to unix EOL --- diff --git a/dwb/greasemonkey/darken.user.js b/dwb/greasemonkey/darken.user.js index 79bdbbc..25453e7 100644 --- a/dwb/greasemonkey/darken.user.js +++ b/dwb/greasemonkey/darken.user.js @@ -1,35 +1,35 @@ -// 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?://imgur.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 +// 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?://imgur.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