// ==UserScript== // @name Easy SiliconInvestor.com Reading // @namespace http://perceptus.ca // @description Fix the low contrast hard to read styles and fonts of siliconinvestor.com. This script is mostly generic, so it will work on many other sites. // @include http://*siliconinvestor.com/* // @include http://*siliconinvestor.advfn.com/* // @include http://groups.google.ca/* // @include http://groups.google.com/* // @include http://anandtech.com/* // @include http://wired.com/* // @include http://*seekingalpha.com/* // @include http://*theinquirer.net/* // @include http://*theregister.co.uk/* // ==/UserScript== // Modifier: Leonard Chan (leonard@perceptus.ca) // Date: 2006-11-02 // Version 1.2.2 // Change Log: // 2007-06-12 - change the sites. SI has moved. // 2007-01-31 - v1.2.1 something broke for SI and seekingalpha.com. Totally revamped, basing this on Page Recolorization by Patrick Cavit (http://userscripts.org/scripts/show/793). Plus it's faster. // 2006-11-08 - more sites. line height. // 2006-11-04 - v1.0.1 - changed the visited link color to black. /* // *********** // Snippet based on GreaseMonkey Script "del.icio.us Prettifier" by: // Author: Gina Trapani // Downloaded by LC from: http://userscripts.org/scripts/show/2631 on 2006-11-02. // Sets fonts and backgrounds for the page. // 2007-02-02 - added SI specific ".ter" and ".tor" refs. (function () { var newstyle = "body, td, tr, p, a, .ter, .tor { font-family: Verdana; background: white; background-color: white; line-height: 150%;! important;} a { text-decoration: none ! important; } a:visited { color: black; }"; var ss = document.createElement("style"); var t = document.createTextNode(newstyle); var root = (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]); ss.appendChild(t); root.appendChild(ss); })(); // // *********** */ /* Snippet based on Page Recolorization by Patrick Cavit (http://userscripts.org/scripts/show/793) */ (function() { //To modify your color settings, edit these lines var background = 'white'; var text = 'black'; var linknormal = '#0000EE'; var linkvisited = '#551A8B'; var font = 'Verdana'; var lineheight = '150%'; var newSS; var styles = '* { font-family: ' + font + ' !important; line-height: '+ lineheight + ' !important; background: ' + background + ' !important; color: ' + text + ' !important } :link, :link * { text-decoration: none ! important; color: ' + linknormal + ' !important } :visited, :visited * { color: ' + linkvisited + ' !important }'; newSS = window.document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,' + escape(styles); window.document.getElementsByTagName("head")[0].appendChild(newSS); })();