I'm interested in a generic regex for "general flash banners," above and beyond blocking ad agencies/sources. Would something like
/(\.ad|banner)s/\.swf/
work?
Thanks in advance!
Is There a Generic .swf/ads filter?
Guest, this is a wrong regexp - it is equivalent to /.swf/. [^...] is a negated character class, so you are looking there for characters that are neither s nor a. And because you use the quantifier * you don't even require such characters to be present. And finally the dot in .swf will match any character - you probably meant to write \.swf
Anyway, salai's solution is the correct one.
Anyway, salai's solution is the correct one.
Or go the easy route and block all flash:
FlashBlock
https://addons.mozilla.org/firefox/433/
NoScript
https://addons.mozilla.org/firefox/722/
the latter has the option to block flash on those sites where JS is first blocked.
FlashBlock
https://addons.mozilla.org/firefox/433/
NoScript
https://addons.mozilla.org/firefox/722/
the latter has the option to block flash on those sites where JS is first blocked.