Trying to block ANY Kardashian photo

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
ChristianZane
Posts: 4
Joined: Tue Mar 26, 2013 7:26 pm

Trying to block ANY Kardashian photo

Post by ChristianZane »

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.
anonymous_

Re: Trying to block ANY Kardashian photo

Post by anonymous_ »

##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 7:26 pm

Re: Trying to block ANY Kardashian photo

Post by ChristianZane »

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 7:26 pm

Re: Trying to block ANY Kardashian photo

Post by ChristianZane »

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.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Trying to block ANY Kardashian photo

Post by Gingerbread Man »

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.
ChristianZane
Posts: 4
Joined: Tue Mar 26, 2013 7:26 pm

Re: Trying to block ANY Kardashian photo

Post by ChristianZane »

Thanks for the info... but how do I block ANY image on ANY webpage that has the word "Kardashian" in the photo URL location?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Trying to block ANY Kardashian photo

Post by Gingerbread Man »

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.
Post Reply