thoughts of the driverSteinn Eldjarn Sigurdarson on tech, tel, digital freedom and possibly his life..

February 19, 2010

Excluding sites from Google Chrome Flashblock extension

Filed under: Technology — Steinn E. Sigurðarson @ 3:20 pm

The Google Chrome flashblock extension is a must-have addition for users intending to browse the web in peace and safety from evil flash advertisements and other flash critters which infest websites in ever greater numbers. Especially for us Linux users who are forced to use the notably weak Linux version of Adobe’s flash player, which loves nothing more than using all the cpu cycles it can get its hands on, and probably memory like an atog, because nothing humbles my dual core 2.53ghz 4GB ram (a few years ago this would have been a mighty fine server!) T400 thinkpad more than a couple of websites where greed fueled ad sales have overpowered the customer experience factors long ago.

Anyway, to the juice of the entry, if you’re running the google-chrome beta on Linux, and were as unable as I was to find the configuration interface to add exceptions to the flash, then this could be of help.


$ cd .config
$ cd google-chrome
$ cd Default
$ cd Extensions
$ ls

Now you should be in the google chrome extensions directory, and will find a directory with a weird name, in my case it was “cdngiadmnkhgemkimkhiilgffbjijcie” feel free to comment if you know this to have any meaning, I would guess it’s a hash/unique string of some sort. Within there, you should find another directory with the version of the extension, in my case “1.2.11.12″.


$ cd cdngiadmnkhgemkimkhiilgffbjijcie
$ cd 1.2.11.12

There in there should be a file called flashblock.js, after the comments, on the first line of the anonymous function (I guess that’s actually an anonymous object prototype or something? js experts feel free to correct me) which wraps the module, you should find a line defining some exclusions:

var exclude = ['mail.google.com', 'blizzard.com', 'acid3.acidtests.org', 'megaupload.com', 'files.mail.ru', 'gs.statcounter.com', 'aniweather.com', 'google.com'];

Here you can modify the array quite easily, then unload and reload the module (you do that from the “Extensions” page accessible from the little settings wrench at the top right) and you should be good to go.

digg this

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

gin 0.730 & tonic. | Powered by WordPress