PDA

View Full Version : How to block flash ads?


superjoppe
2006-07-11, 05:54 PM
Hi. Whats the easiest way to block an annoying sex ad that is in flash?
In opera I can click "block content" and then click it, and in Camino I have flashblock.
In OmniWeb I dont know though, and I cant click "inspect elelement" on it to get info. Is there any easier way than going into the scary long sourcecode and trying to find an adress or something?

Thanks

musti
2006-07-11, 06:46 PM
Hi. Whats the easiest way to block an annoying sex ad that is in flash?
In opera I can click "block content" and then click it, and in Camino I have flashblock.
In OmniWeb I dont know though, and I cant click "inspect elelement" on it to get info. Is there any easier way than going into the scary long sourcecode and trying to find an adress or something?

Thanks

Oh, I love on-your-face sexy flash ads...(joking).

Do you want to block flash from a domain? If so, enter this in the Ad Blocking preference Pane

/domaintobeblocked.com.*\.swf/

Do you want to block ALL flash ads?

\.swf

For more info and the beauty of Regex filtering,

omniweb:/Help/reference/preferences/AdBlocking.html

hth,
musti.

superjoppe
2006-07-11, 07:05 PM
Thanks for the quick reply.
Is there any easier way to get the domain, than trying to find it in the long sourcecode? Im really bad at html and such, and I cant seem to to "inspect element" on plugins either

musti
2006-07-11, 09:10 PM
Thanks for the quick reply.
Is there any easier way to get the domain, than trying to find it in the long sourcecode? Im really bad at html and such, and I cant seem to to "inspect element" on plugins either

Not that I know of, and I am looking for that as well, as it is a pain to go fish for the culprit in the code.

Jussi
2006-07-12, 05:56 AM
Thanks for the quick reply.
Is there any easier way to get the domain, than trying to find it in the long sourcecode? Im really bad at html and such, and I cant seem to to "inspect element" on plugins either

Well, I find that it's quite easy to get the domain from the page info view that is located in the site preferences panel. Swf files are listed under "other". Then just copy the element for it's URL.

For some reason the filtering seems not to be working :(

Handycam
2006-07-12, 12:45 PM
Flash ad filtering is working fine here.

Note that for many (if not most) flash ads the code for the swf is being written out by javascript. Often there is no ".swf" in the code to filter. Crafty agencies!

You may need to create a filter to block an external javascript file from loading. On many sites I need to do this.

You can also probably block several entire domains like:

ad\.admarketplace\.net.* or a1\.interclick\.com/.* or gfx\.klipmart\.com/.*

just to pick 3 at random. You can find exhaustive lists at sites like http://pgl.yoyo.org/adservers/

You may also be able to detect in the html that the flash ad is in a named DIV tag, then you can whack it with a custom css file, as in

div#damnAd { display:none !important }

I need to do this for practically ALL the sites I visit. Ad blocking via URL is not enough in these cases. Amazing what I go through just not to view web ads!

Of course, it would be nice to be able to right-click on a Flash ad and block it there, like you can with SafariBlock, or in FF with AdBlock. Maybe in 6.0?

WebJIVE
2006-07-13, 05:55 PM
What would be just as useful for now is a way to import lists like filterset.g so that most of the work is already done! that would be a pretty easy thing to implement in this version! devs????

Jussi
2006-07-15, 05:23 AM
Flash ad filtering is working fine here.


I now see that I was not being very clear, sorry about that. The flash ad blocking itself is working well. What was not working is the element filtering in the page info view. (at least I thought the search field was there for that reason)

- - e r i k - -
2006-07-17, 05:07 PM
Of course, it would be nice to be able to right-click on a Flash ad and block it there, like you can with SafariBlock, or in FF with AdBlock. Maybe in 6.0?If that is so, OmniGroup won't see my money for OW before 6.0.

I am using Safari + Saft right now, and for a browser to deserve money against free solutions it has to be at least as powerful - if not more.

Scoff it off if you must, but adblocking is an important feature for a lot of people browsing the web these days.

Handycam
2006-07-18, 07:26 AM
You CAN block Flash ads. And scripts, images, applets -- any URL. You just need to find out the URL first. Some sites have made this obviously difficult, since they need those ads for revenue.

You can read this thread: http://forums.omnigroup.com/showthread.php?t=991 for a way to download a list of known ad servers and add it to OW's ad-blocker. The ingenious method is admittedly a little difficult, but it works with such a long list.

You can also visit http://pgl.yoyo.org for lists of known ad servers.

I have blocked 99% of the Ads, including Flash, on the sites I visit with a combination of OW's ad blocker and custom CSS files.

vandelim
2006-07-19, 03:07 PM
true that it can be done, but it must be done with ease. web browsers are supposed to be simple as it is. a nice contextual menu option would be phenomenal.

rorya
2006-07-31, 02:34 PM
true that it can be done, but it must be done with ease. web browsers are supposed to be simple as it is. a nice contextual menu option would be phenomenal.

Hey, this is a power users browser, come on. Regular Expressions are extremely powerful.

I think maybe the only thing I would add is a way to update the default list in the ad block list. Though, I guess if the browser is updated pretty regularly, that's not a big deal. That is, assuming OG updates this list periodically.

JKT
2006-07-31, 04:35 PM
If that is so, OmniGroup won't see my money for OW before 6.0.

I am using Safari + Saft right now, and for a browser to deserve money against free solutions it has to be at least as powerful - if not more.

Scoff it off if you must, but adblocking is an important feature for a lot of people browsing the web these days.
Please, OmniWeb is far more powerful than Safari and Saft (which isn't free anyway - Saft costs $12) by a long, long way. What you mean is that it must be as good as or better for you in this one particular area. I am not going to disagree that the ease of ad blocking couldn't be improved in terms of its UI in OmniWeb but the actual ad blocking feature itself is extremely powerful. What OmniGroup needs to do to improve the usability is:

1. Allow the import/export of filter sets so users can share. This should also allow you to merge other users filtersets with your own (and add a "rollback" feature as well in case you don't like the results).
2. When you select the filter image option from the contextual menu, it should present you with a sheet that allows you to edit the auto-created regex straight away so that you can reduce the specificity of the filter at point of entry (if you so choose) rather than post-addition.
3. Flash and other plug-ins should have their own filtering mechanism so that you can pick and choose which Flash to block/allow independently of images (e.g. you may wish to allow flash for a site, but not the ad images and vice versa).
4. The ability to block Flash or other plug-in content should also be an option obtainable through the same mechanism as 2. above.

What would really put it head and shoulders above the rest would be a regex checker that would scan your ad block list for badly parsed filters and correct them for you.

gareth
2007-07-18, 03:06 AM
I don't know what is your browser, for firefox you can download "adblock plus", add the filter rule as refered above. But for ie, "adblock pro" would be the best choice, you can right click to disable flash for each site.

pgl
2008-05-21, 01:09 PM
I don't know what is your browser, for firefox you can download "adblock plus", add the filter rule as refered above. But for ie, "adblock pro" would be the best choice, you can right click to disable flash for each site.

What is the format of the OmniWeb block file?