Created
January 12, 2012 13:02
-
-
Save flashingpumpkin/1600378 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // @name HN Black Font | |
| // @description Make text black on HN | |
| // @homepage https://gist.github.com/1600378/ | |
| // @match https://news.ycombinator.com/* | |
| // @match http://news.ycombinator.com/* | |
| // @run-at document-start | |
| (function() { | |
| var css, head, node; | |
| css = "td { color: #000000; }"; | |
| try { | |
| head = document.getElementsByTagName("head")[0]; | |
| node = document.createElement("style"); | |
| node.type = "text/css"; | |
| node.appendChild(document.createTextNode(css)); | |
| head.appendChild(node); | |
| } catch (err) {} | |
| }).call(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment