Tuesday, May 27, 2014

Desaturation bookmarklet

I recently needed to protect my eyes from a web site whose editors just love saturation. I figured there should be an easy fix for that, so I quickly found the Desaturate extension for Chrome. Nevertheless, nowadays I prefer to install as few extensions as possible since malicious parties figured out how to exploit Chrome extensions for profit. Luckily, many extensions are simple Javascripts that can be replaced by a bookmarklet. So here it goes, a bookmarklet to desaturate a page:

Just drag it to your bookmarks bar and you're done.

Update: clicking the button a second time now returns the page to full color.


David Ramírez said...

Hi Steven,

would it be possible to do something like this to block Flash???

Steven Van Vaerenbergh said...

Sure, you can e.g. have a button that removes all flash elements. The code's more complex though, so it may be more appropriate to make a browser extension.

David Ramírez said...


I just wanted something simple that I could understand. Now I am a little bit more paranoid.

Steven Van Vaerenbergh said...

You could try "Remove bloat" from here: http://cybernetnews.com/cybernotes-the-best-bookmarklets-for-your-browser/