Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I leave Adblock turned on for all sites by default. I allow ads on some sites. You can do this by adding an exception for a site that is allowed to show ads. This puts a site in the white list.

However, I do not know how to allow most ads on a page, but block a specific ad. I am not even sure Adblock will do this. I believe it is all or none. If a site is in the white list, it appears that all other rules are ignored.

Is there a way to allow most ads on a website, but still block specific ads?

share|improve this question
    
Didn't Jeff answer this question at meta.stackexchange.com/questions/28149/… already? So: block all + allow exception + block specific image = answer? – Arjan Nov 3 '09 at 14:54
    
Per my comments on that question and the question above, as far as I know you are not able to do that on a whitelisted page. – Jeremy Roberts Nov 3 '09 at 15:01
1  
I have this very site whitelisted, and no, you can't block elements on a whitelisted page. – CarlF Nov 3 '09 at 15:12
    
Of course I tried. I tried that before I even posted the original question. My google fu is not weak. Asking a question is the absolute last resort for me. – Jeremy Roberts Nov 3 '09 at 15:13
    
@CarlF Can you add a answer to that effect? – Jeremy Roberts Nov 3 '09 at 15:14
up vote 2 down vote accepted

Actually, on my computer, Jeff's instructions only work in a specific order, and in the end indeed have no effect:

  1. Enable Adblock Plus
  2. Browse to some site, right-click the Adblock icon and choose "Disable on [..]"
  3. Right-click some image (for easy testing: preferably the site's logo), and choose the option "Adblock Plus: Block image..." (also note the option "Adblock Plus: Re-enable on this page...")
  4. Refresh the page
  5. The image that was blocked in step 3, will still show
  6. Right-click some other image, and see that the option to block a specific image is gone
  7. Re-enable Adblock for that website
  8. Refresh the page
  9. The blocked image will no longer show
  10. Left-click the Adblock icon, and remove the rule from step 3 from "My Ad Blocking Rules"

I have not yet found a bug report on this. Can anyone confirm seeing the menu item in step 3 (and not in step 6)?

(I guess @CarlF and @jrob already confirmed step 5.)


Mac OS X 10.6.1, Firefox 3.5.4, Adblock Plus 1.1.1

share|improve this answer

I can't answer your direct question, but I can give you an alternative.

Opera has a built-in content blocking tool that lets you selectively choose content from certain hosts to be disabled. You right-click on a page, select Block Content, then you click on anything on the page to add that content to the block list.

share|improve this answer

You can block specific URLs by specifying the full path:

http://sstatic.net/su/img/logo.png

as opposed to:

http://sstatic.net/su/img/*.png

or:

http://sstatic.net/*

to use the logo of Super User as an example.

share|improve this answer
1  
Adding the exception rule does not seem to make a difference. If it is whitelisted, even the exception rule makes no difference. – Jeremy Roberts Nov 3 '09 at 15:19
    
Odd - I'm sure I've used the exception rule in the past. – ChrisF Nov 3 '09 at 15:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .