How to apply the filter only on a website (or a page)?
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact:
How to apply the filter only on a website (or a page)?
Hi all. I have just upgraded Adblock Plus from the version of mrbene.
I would know if exists a regulary expression for a filter that block an ad only for a site or a page.
I ask this because I don't use any filter lists, but I only block very slow or annoying ads. So I want to speed up the filtering process by enabling adblock only for certain sites.
Another question: there's a way with Adblock plus to block all the images and/or the scripts and/or the flash object of a site or a page? I know also Firefox block all images of a site, but not images with a link. I also know Noscript and FlashBlock, but I prefer a blacklist instead of a whitelist.
I would know if exists a regulary expression for a filter that block an ad only for a site or a page.
I ask this because I don't use any filter lists, but I only block very slow or annoying ads. So I want to speed up the filtering process by enabling adblock only for certain sites.
Another question: there's a way with Adblock plus to block all the images and/or the scripts and/or the flash object of a site or a page? I know also Firefox block all images of a site, but not images with a link. I also know Noscript and FlashBlock, but I prefer a blacklist instead of a whitelist.
You could try some filter like
This should block all images from www.example.org
more info: http://adblockplus.org/forum/viewtopic.php?t=591
If you want to block only a special ad, you can take "www.example.com/ads/ad.jpg" as a filter.
But you should not worry to much about speed, since Adblock Plus is already very fast (much faster than the old Adblock versions). And with coming Adblock Plus 7.2 it will be even faster than fast. If you understand computers, you can read http://adblockplus.org/blog/investigati ... algorithms , if you are not such a techy, just take a look at the graphs on the bottom, they say more than 1000 words.
Code: Select all
http://www.example.org/$image
more info: http://adblockplus.org/forum/viewtopic.php?t=591
If you want to block only a special ad, you can take "www.example.com/ads/ad.jpg" as a filter.
But you should not worry to much about speed, since Adblock Plus is already very fast (much faster than the old Adblock versions). And with coming Adblock Plus 7.2 it will be even faster than fast. If you understand computers, you can read http://adblockplus.org/blog/investigati ... algorithms , if you are not such a techy, just take a look at the graphs on the bottom, they say more than 1000 words.
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact:
Well, actually I would to block all the images and the scripts that appear in the pages of a certain site. I think the best solution is:
but $third-party is not yet implemented (and I fear it will not be ever implemented...
)
only for the site
Code: Select all
http://www.example.org/$image
http://www.example.org/$image$third-party

Well, no, I'm trying to apply a filter only to a certain site. For example, I would to apply the filterIf you want to block only a special ad, you can take "www.example.com/ads/ad.jpg" as a filter.
Code: Select all
http://www.diwojf.com/noqiijqij/script.js
Code: Select all
http://adblockplus.org
There is only one way to speed up anything - whitelist the whole site (e.g. using the "Disable on ..." menu or adding the filter "@@|http://site.com/" manually). Then Adblock Plus will stop tracking the items on this page - that's what takes the most time.
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact:
So I could do something like this?
to do a blacklist?
Code: Select all
@@|* ~http://site1.aaa ~http://site2.bbb ~http://site3.ccc etc.
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact:
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact:
Well, telling the truth before I had optimized it, thanks to the suggests of Mozillaitalia support forum, Firefox was very expensive in terms of pc resources (it took about 80 MB of RAM...). Because I have an old PII I am very maniac about performance...
Anyway, I think it's more important the implementation of the Boyer-Moore algorithm rather than a not much popolar blacklist feature
I hope the $third-party filter will be added, in spite of "yesss I want to block all the web" people... ^^
With the filter: ( * $script,third-party ), NoScript will become absolutely obsolete
Anyway, I think it's more important the implementation of the Boyer-Moore algorithm rather than a not much popolar blacklist feature

I hope the $third-party filter will be added, in spite of "yesss I want to block all the web" people... ^^
With the filter: ( * $script,third-party ), NoScript will become absolutely obsolete

The problem with $third-party is that Adblock Plus couldn't cache whether a specific item should be blocked or not, since that would be different on different websites.Lucas Malor wrote:I hope the $third-party filter will be added, in spite of "yesss I want to block all the web" people... ^^
With the filter: ( * $script,third-party ), NoScript will become absolutely obsolete
Matt Nordhoff
- Lucas Malor
- Posts: 72
- Joined: Wed Aug 23, 2006 7:34 am
- Contact: