Skip to content

One line of code to see heavily downvoted comments

6 pointsmichaelkscott1 comment
On HN

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';})();

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.