How to block an element when on a specific URL path only

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
darkblue
Posts: 33
Joined: Thu Dec 15, 2011 8:32 pm

How to block an element when on a specific URL path only

Post by darkblue »

Using ABP 2.7.3 in FF49.

I want to block an element with e.g. selector #block
when visiting a specific URL path
i.e. to block it only when visiting e.g.
http://domain.com/subdomain_1
but not in
http://domain.com
http://domain.com/subdomain_2
etc.

is it possible?

My attempts so far:

Code: Select all

||domain.com/subdomain_1^###block

domain.com/subdomain1###block
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to block an element when on a specific URL path only

Post by mapx »

The hiding filters are working on domain, so the answer is: No.
darkblue
Posts: 33
Joined: Thu Dec 15, 2011 8:32 pm

Re: How to block an element when on a specific URL path only

Post by darkblue »

Thank you for the quick answer.
Post Reply