Wednesday, December 30, 2009

Censoring Google search results in chromium

Ever find yourself clicking one of those "experts exchange" links? I know you have. Want to avoid that rise in blood pressure? No problem.

I'm using the nightly build of chromium these days, instructions follow:

1. Install the Chrome Stylist extension. (https://chrome.google.com/extensions/detail/pabfempgigicdjjlccdgnbmeggkbjdhd)

2. Open the Chrome Stylist options (Wrench Menu->Extensions, click 'options')

3. 'Add New Style':
- prefix: http://google.com/search
- css:
li h3 a[HREF*="http://www.experts-exchange.com/"] {display : none ! important }
A[HREF*="http://www.experts-exchange.com/"]:after { content: " [IDIOT WARNING]"!important ; color: red }

All done - enjoy ;)