HN Toolkit - New Version w/ Saved Links

https://news.ycombinator.com/item?id=674553
by Xichekolas • 17 years ago
2 0 17 years ago

New version of the HN Toolkit GM script is up:

http://userscripts.org/scripts/show/25039

This one allows you to save links for reading later. Also improved the new links preview.

Biggest change is how the blacklister works. It's more like a style rule engine now. You supply a regex, and all links that match that regex will get that style. If you omit a style, the link is hidden (blacklisted).

As an example, here is my current rule setup:

  paulbuchheit|gaborcselle->background-color:#FFFF00;
  Ask HN->background-color:#00FFFF;
  codinghorror.com
The part before the '->' is the regex, the part after is the style. These three rules highlight certain links, and blacklist codinghorror.com links.

Let me know what bugs you encounter, if any.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com