Blocking specific elements on certain paths on same domain

Various discussions related to filter list maintenance

Moderator: njones

Blocking specific elements on certain paths on same domain

Postby Malabar » Fri Aug 24, 2018 7:51 am

Hope that question makes sense...

So:

I want to block example.css.

The URL to example.css is http://www.example.com/blah/cssbin/variablepathname*/example.css

That is the case site wide.

I want to block example.css from loading on http://www.example.com/example_noloadhere/

But, I do NOT want to block example.css from loading on http://www.example.com/, http://www.example.com/example/, etc.

Is this possible?
Malabar
 
Posts: 8
Joined: Wed Aug 14, 2013 7:44 am

Re: Blocking specific elements on certain paths on same domain

Postby mapx » Fri Aug 24, 2018 9:37 am

just block it where you need
Code: Select all
||example.com/example_noloadhere/example.css
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: Blocking specific elements on certain paths on same domain

Postby Malabar » Fri Aug 24, 2018 1:51 pm

Thanks for the reply, I appreciate the help.

Unfortunately, that won't work. The CSS loads from http://www.example.com/blah/cssbin/variablepathname*/example.css, not from http://*example.com/example_noloadhere/example.css

I am wanting to block that CSS (again, it always loads from http://www.example.com/blah/cssbin/variablepathname*/example.css), but only when the browser is on the URL path http://www.example.com/example_noloadhere/. I still want the CSS to load when the browser is on other paths on the same domain (i.e., http://www.example.com/adifferentpath/*).

Is that making better sense? :?
Malabar
 
Posts: 8
Joined: Wed Aug 14, 2013 7:44 am

Re: Blocking specific elements on certain paths on same domain

Postby mapx » Fri Aug 24, 2018 4:21 pm

Oh, sorry, I see now .. Unfortunately I don't see a way to accomplish such a goal
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: Blocking specific elements on certain paths on same domain

Postby Malabar » Fri Aug 24, 2018 5:22 pm

Yeah, me neither! :oops:
Malabar
 
Posts: 8
Joined: Wed Aug 14, 2013 7:44 am

Re: Blocking specific elements on certain paths on same domain

Postby mapx » Fri Aug 24, 2018 5:36 pm

If you provide a real example, well perhaps there is some other method to block what you want
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm


Return to Filter List Authors' Corner

Who is online

Users browsing this forum: No registered users and 2 guests