Trying to block ANY Kardashian photo

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey

Trying to block ANY Kardashian photo

Postby ChristianZane » Tue Mar 26, 2013 8:29 pm

I've spent about an hour trying to figure out how to create a custom filter that will block any photo that has the word KARDASHIAN in it, whether it's the name of the URL, in the description or the title of the image file. Can someone give me a heads up? I've tried to understand the pipe bar and ## terminology but I can't quite figure it out, thanks in advance.
ChristianZane
 
Posts: 4
Joined: Tue Mar 26, 2013 8:26 pm

Re: Trying to block ANY Kardashian photo

Postby anonymous_ » Tue Mar 26, 2013 9:06 pm

##img[alt*="KARDASHIAN"]
##img[alt*="Kardashian"]
##img[alt*="kardashian"]
##img[title*="KARDASHIAN"]
##img[title*="Kardashian"]
##img[title*="kardashian"]
##[alt*="KARDASHIAN"] > img
##[alt*="Kardashian"] > img
##[alt*="kardashian"] > img
##[title*="KARDASHIAN"] > img
##[title*="Kardashian"] > img
##[title*="kardashian"] > img
*kardashian*
anonymous_
 

Re: Trying to block ANY Kardashian photo

Postby ChristianZane » Tue Mar 26, 2013 9:19 pm

lemme try that, thanks!

anonymous_ wrote:##img[alt*="KARDASHIAN"]
##img[alt*="Kardashian"]
##img[alt*="kardashian"]
##img[title*="KARDASHIAN"]
##img[title*="Kardashian"]
##img[title*="kardashian"]
##[alt*="KARDASHIAN"] > img
##[alt*="Kardashian"] > img
##[alt*="kardashian"] > img
##[title*="KARDASHIAN"] > img
##[title*="Kardashian"] > img
##[title*="kardashian"] > img
*kardashian*
ChristianZane
 
Posts: 4
Joined: Tue Mar 26, 2013 8:26 pm

Re: Trying to block ANY Kardashian photo

Postby ChristianZane » Tue Mar 26, 2013 9:28 pm

Hmmm well sort of works, however for instance when I go to Kim Kardashian's Wikipedia page, her photos are all still there eventhough the JPG image and URL photo link have the word "Kardashian" in them.
ChristianZane
 
Posts: 4
Joined: Tue Mar 26, 2013 8:26 pm

Re: Trying to block ANY Kardashian photo

Postby Gingerbread Man » Wed Mar 27, 2013 9:32 am

Your filter subscription most likely whitelists Wikimedia images. For instance, EasyList contains the following exception filter:
Code: Select all
@@||upload.wikimedia.org/wikipedia/

If you use Firefox, you can open the Blockable Items pane (either from the toolbar icon menu or by pressing Ctrl+Shift+V) to see which filters are in effect.

Also note that Adblock Plus never blocks top-level documents. This means an image that's part of a web page will be blocked, but a direct link that opens the image by itself will load normally if clicked.
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Trying to block ANY Kardashian photo

Postby ChristianZane » Wed Mar 27, 2013 7:55 pm

Thanks for the info... but how do I block ANY image on ANY webpage that has the word "Kardashian" in the photo URL location?
ChristianZane
 
Posts: 4
Joined: Tue Mar 26, 2013 8:26 pm

Re: Trying to block ANY Kardashian photo

Postby Gingerbread Man » Thu Mar 28, 2013 6:32 am

The above filters should do it.

If content that matches the filters isn't blocked, use the Blockable Items pane to check if any whitelist filters are being applied. If that's the case, then right-click the offending whitelist filter, choose Edit Filter, then disable it by clearing the checkbox next to it.
Note that those whitelist filters exist for a reason. If you disable them, you may find content that should be allowed ends up being blocked.
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am


Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: No registered users and 11 guests