Whitelist certain ads on certain domains - Kissanime.to

Everything about using Adblock Plus on Google Chrome
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Whitelist certain ads on certain domains - Kissanime.to

Post by Mindbender »

Hello all,

I want to allow this call on a particular domain:

var status= true;
$.getScript("https://somedomain.com/script.js?ver=4.2.4")
.done(function (script, textStatus) {
status= false;
});

I've gone through the tutorial, but not sure this is even possible from what I've seen... Appreciate any help! Thanks!
Last edited by Mindbender on Fri Aug 26, 2016 7:53 pm, edited 1 time in total.
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Whitelist certain ads on certain domains

Post by smed79 »

Hi,

see if helps : filters#whitelist
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains

Post by mapx »

Did you try

Code: Select all

@@||somedomain.com/script.js?ver=4.2.4
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains

Post by Mindbender »

No, those didn't work. Perhaps it has to do with the method of getting the scripts?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains

Post by mapx »

Which is the page / site and what exactly do you want to whitelist ?
ghadoliya
Posts: 1
Joined: Thu Aug 25, 2016 8:34 am
Contact:

Re: Whitelist certain ads on certain domains

Post by ghadoliya »

It didn't work
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains

Post by mapx »

answer the question above
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains

Post by Mindbender »

The situation I was looking at was under http://kissanime.to/. Basically they have implemented a version of adblocking checking that tests a certain domain(s) known to be adblocked and if the check to that domain fails they presume adblocking is in use and won't allow the videos to be viewed. I want to allow the sites being checked to be whitelisted only on this site, so all the others are still blocked and I can view the videos without interuption.

Let me know if you need more info.

Here's a link to a direct video for convienance:
http://kissanime.to/Anime/Mobile-Fighte ... 0?id=45819
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains

Post by Mindbender »

So I dove into their JS code again to see what they are currently doing, and instead of checking connection, they are now checking that it's visible. They use a timeout to call this method:

Code: Select all

function DoDetect1() {
    if (!$('#adsIfrme10').is(":visible")) {
        DoDetect2();
    }
}
After that, DoDetect2() just overwrites the html div so that the video iframe is destroyed. Is there a way Adblock can manage this type of check? Or some other plugin that simulate a visible attribute through jQuery?
Last edited by Mindbender on Fri Aug 26, 2016 7:39 pm, edited 1 time in total.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains

Post by mapx »

already on forum the right filter
@@||adsterra.com^$domain=kissanime.to

see
forum/viewtopic.php?p=155404#p155404
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains

Post by Mindbender »

It's not working. My filter now has these 3:

@@||doubleverify.com^$domain=kissanime.to
@@||kissanime.to/Ads/*$subdocument
@@||adsterra.com^$domain=kissanime.to

Looks like it might have changed again...

Edit: updated title to reflect kissanime.to
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains - Kissanime.to

Post by Mindbender »

I also found this thread (forum/viewtopic.php?t=24337), but it too is no longer working. Looks like something as checking visibility stops ABP...
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains - Kissanime.to

Post by mapx »

You need only:
@@||adsterra.com^$domain=kissanime.to

It's working fine here.
Disable other blocking extensions, keep only ABP (remove ghostery, disconnect, useless ..)
ABP version ?
chrome version ?
What filter lists are enabled in ABP ?
Mindbender
Posts: 21
Joined: Tue May 31, 2016 1:11 am

Re: Whitelist certain ads on certain domains - Kissanime.to

Post by Mindbender »

I only have ABP as my ad blocker. There is Symantec DLP Extension, but I have no control over that at work.

Keep in mind it only blocks the add about 45 seconds into the show.

ABP Version: 3.1.1
Chrome: 52.0.2743.116 m
And these ABP Filter list:
Acceptable AdsFailed, download failure
AdBlock custom filtersupdated
EasyListupdated
Other Filter Lists:
Adblock Warning Removal list
EasyPrivacy (privacy protection)
Fanboy's Annoyances (blocks in-page pop-ups, social media and related widgets, and other annoyances)
Malware protection
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Whitelist certain ads on certain domains - Kissanime.to

Post by mapx »

you are using other adblocker (AB) (even if it has ABP engine)
try directly ABP: https://chrome.google.com/webstore/deta ... cddilifddb
and keep only easylist enabled.

other test: disable ABP and see if works. If does not work could be that Symantec crap.
Post Reply