News for hackers. Stuff that matters.

One line of code to see heavily downvoted comments

Just a quick tip for those of you who are on a browser or OS that doesn't make it easy to see highlighted text. e.g. Chrome on OSX

Paste this in your console. It makes every text black.

d=document.getElementsByTagName('font');for(i=0;i<d.length;i++)d[i].color='#000';

Or make it a bookmark...

javascript:(function(){d=document.getElementsByTagName('font');for(i=0;i<d.length;i++)d[i].color='#000';})();

( 1 comment | 6 points | on HN )
Re:One line of code to see heavily downvoted comments by bjourne on Monday February 11, 2013 @08:12AM (#5200577)
A more elaborate solution is to install a userstyle (http://userstyles.org/) and a browser plugin like as Stylish. There are dozens of themes available related to hacker news: http://userstyles.org/styles/browse/all/hacker+news.