Galeon and blocking flash adverts
The Galeon browser has the great image-blocker feature, (which has since become more common in other browsers), enabling the blocking of advert-serving sites. Unfortunately, flash adverts have become more and more widely used and cannot be blocked using the image-blocker feature, and these flash adverts, with the moving images and other gimmicks, can be incredibly irritating. They were irritating for me until yesterday, when I discovered a method to block them. Sure, I could have just uninstalled the shockwave-flash plugin, but very, (very), occasionally flash does serve some valid purpose, (although an example of such a purpose escapes me at present), so I prefer to keep it installed.
Here is the method, it is not foolproof, but it suffices in the absense of any better solution:
Create (or edit) the file ~/.galeon/mozilla/galeon/chrome/userContent.css and copy/paste the following code into it.
/* hide flash banner adverts */ embed[type="application/x-shockwave-flash"][width="468"][height="60"] { display: none !important; visibility: hidden !important; } embed[type="application/x-shockwave-flash"][width="728"][height="90"] { display: none !important; visibility: hidden !important; } embed[type="application/x-shockwave-flash"][width="300"][height="250"] { display: none !important; visibility: hidden !important; }

























Fri, 28th Apr 2006 7:27:23 +01:00
Wow, that's a great idea :)
UsingI didn't think of it and was looking for a way to do that since a while!
Sat, 29th Apr 2006 14:05:29 +01:00
in firefox you have a extension to do this… flashblock
it replaces the flash with a play button, if you want to play see the flash, just press play, if you dont, leave it and all you will see is the empty space with the play
it have sites whitelist so you can exclude some sites from being filtered
dont know if galeon support the firefox extension, but it can probably be migrated to it
Usingmostly recommended
Wed, 15th Aug 2007 12:46:43 +01:00
of course, block flash is available in epiphany-extensions as well :-)
Using