News for hackers. Stuff that matters.
Re:Post your HN tricks. by Xichekolas on Monday August 17, 2009 @03:07AM (#767528)
FWIW, the new version of #5 allows you to apply arbitrary styles to each item, rather than just hiding them.

I put a blue background on all the Ask threads for instance.

To do so, the 'banlist' is now a textbox. Each line is in the format:

  *regex*->*style*
The default style is to hide anything that matches. Both titles and urls are matched. So:

  valleywag.com
  Ask HN->background-color:red;
Would hide anything from valleywag.com and put red backgrounds on all the Ask threads. The styling is pretty rough, so not sure what else works beside background colors... feel free to complain if something needs fixed. ;)
Re:Post your HN tricks. by kirubakaran on Monday August 17, 2009 @11:25AM (#768268)
Cool! background-color works but color does not.

text-decoration:line-through; works and that is what I use for marking the websites to avoid. Thanks for the cool tool.