How to block on all other sites except on the site itself?

Everything about using Adblock Plus on Google Chrome
Post Reply
crispin
Posts: 15
Joined: Fri Apr 03, 2015 9:50 pm

How to block on all other sites except on the site itself?

Post by crispin »

hello,
i read the instructions and I was able to create my own filters. One thing is still not working and I couldn't figure out a solution.

For example I want to block XHR from for example www.thiswebsite.com because a lot different pages try to request XHR from www.thiswebsite.com

Code: Select all

www.thiswebsite.com/ajax$xmlhttprequest 
that seems to work.

but i want that XHR being not blocked if I am on www.thiswebsite.com
I tried many things but i could not get it to work.
Thank you for your help
crispin
Posts: 15
Joined: Fri Apr 03, 2015 9:50 pm

Re: How to block on all other sites except on the site itself?

Post by crispin »

i tried this and it is not working

Code: Select all

www.thiswebsite.com/ajax$xmlhttprequest
@@www.thiswebsite.com/ajax$xmlhttprequest,domain=thiswebsite.com
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to block on all other sites except on the site itself?

Post by mapx »

try
||thiswebsite.com/ajax$xmlhttprequest,third-party

or
||thiswebsite.com/ajax$xmlhttprequest
@@||thiswebsite.com/ajax$xmlhttprequest,domain=thiswebsite.com
Post Reply