Page 1 of 1

Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 7:51 am
by Malabar
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?

Re: Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 9:37 am
by mapx
just block it where you need

Code: Select all

||example.com/example_noloadhere/example.css

Re: Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 1:51 pm
by Malabar
Thanks for the reply, I appreciate the help.

Unfortunately, that won't work. The CSS loads from http://www.example.com/blah/cssbin/vari ... xample.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/vari ... xample.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? :?

Re: Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 4:21 pm
by mapx
Oh, sorry, I see now .. Unfortunately I don't see a way to accomplish such a goal

Re: Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 5:22 pm
by Malabar
Yeah, me neither! :oops:

Re: Blocking specific elements on certain paths on same domain

Posted: Fri Aug 24, 2018 5:36 pm
by mapx
If you provide a real example, well perhaps there is some other method to block what you want