Hacker News new | ask | show | jobs
by Nadya 3908 days ago
>It's an endless pit and no one has a solution.

This needs a little bit of tweaking on a per-site basis, but works really well at blocking most things.

  */ Hide most everything that isn't the content. /*
  :not(.main-content) { 
    display: none !important; 
  } 
  .main-content > * { 
    display: block !important;
  } 
Combined with bookmarklets to disable CSS and strip images: http://pastebin.com/etLwqx5A

I can read content more or less marketing/fluff free. I then add several styles to make things a bit more legible (font size, a specific font I prefer, body width 85%, line height, and less-contrasting colors).

When I have some spare time on a future weekend I plan to find a way to combine all of them into a single Firefox add-on or a one-click-to-do-everything bookmarklet.

1 comments

Isn't this basically Readability mode in Safari?
Doesn't work on WSJ and similar sites that require a Google UTF to read. I also have a bit more authority and control over things than the limited options of Readability.

(Readability was built into Safari 5 but is a standalone bookmarklet/add-on as well. Was actually a big inspiration for me fixing things how I want them.)