Blocking a Exo Script

Everything about using Adblock Plus on Google Chrome
Post Reply
Balu451
Posts: 4
Joined: Thu Nov 24, 2016 8:25 am

Blocking a Exo Script

Post by Balu451 »

Hi,

its been some years since i last had to work with webcodes and whatnot, but lately i am encountering more and more websites using this particular script:

Code: Select all

https://github.com/sanosay/exads-adblock

Code: Select all

<script type="text/javascript">
    ExoLoader.addZone({"type": "banner", "width":"300", "height":"250", "idzone":"111382"});
</script>
Is there a way for Adblock to block this kind of script?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking a Exo Script

Post by mapx »

just provide the pages where that script is enabled and explain what's about: ads, popups ,,
Balu451
Posts: 4
Joined: Thu Nov 24, 2016 8:25 am

Re: Blocking a Exo Script

Post by Balu451 »

I am not quite sure i am comfortable with posting links to a porn site, wouldn't want to get banned for that.

The code above, is taken directly from the website and i would like to block the script that is listed there.

What it does is exactly what it says it does... it creates a banner, and i would like to block that specific line of script. Especially since i'd like to know how to do it, instead of just copy pasting a specific instance, and then having to wonder how to do it, should i encounter it again on another site.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking a Exo Script

Post by mapx »

1. if are not blocked by easylist yet, just provide the specific page / site (even porn one)
use the [ code ] .... [ /code ] notation (don't post clickable links)

2. there are already filters in easylist which are blocking those scripts

see for example in easylist: https://easylist-downloads.adblockplus.org/easylist.txt

Code: Select all

||4archive.org/frontend_loader.js
||4chanarchives.cu.cc/frontend_loader.js
||4tube.com/frontend_loader.js
||sh-cdn.com/backend_loader.php$domain=simply-hentai.com
Balu451
Posts: 4
Joined: Thu Nov 24, 2016 8:25 am

Re: Blocking a Exo Script

Post by Balu451 »

I am using both easy list and the regional easy list, and the Banners show up all around this site. If you go into one of the listings they completely frame the actual content. On the listings itself there is one in the 3rd spot, as well as at the bottom.

One of the websites in question is:

Code: Select all

http://manga.hentai.ms/
There was another website i encountered it on, but it seems to be blocked by now, as it stopped showing ads after 2 or so weeks. The Ads shown are german language ads.

I also have banners showing on

Code: Select all

http://www.pornhub.com/video
, but for that one i haven't found the actual offender in the source code yet (its a much larger source page), but i assume its this line:

Code: Select all

var adDelivery = new AdDelivery(wsUrl, true);
	
						document.getElementById('RTAImage').setAttribute('src', "http://cdn1a.static.pornhub.phncdn.com/www-static/images/rta-2.gif?cache=20161124")

As i said... its been almost 15 years since i did anything with webdesign... so i am really rusty. However I was able to find the script on the hentai page, and then the associated github entry, for the work around in question. Which lead me to wonder if there was a way to block the specific script.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking a Exo Script

Post by mapx »

update your lists

then:

for hentai

Code: Select all

||hentai.ms/*_loader.$script
pornhub

Code: Select all

@@||media.trafficjunky.net^$domain=pornhub.com
@@/Tag.a1b$domain=pornhub.com
eventually you could add this generic filter

Code: Select all

/frontend_loader.js
Balu451
Posts: 4
Joined: Thu Nov 24, 2016 8:25 am

Re: Blocking a Exo Script

Post by Balu451 »

My lists are/were up to date, according to Adblock:

EasyList Last updated at 3:37:06 PM today
Adblock Warning Removal List Last updated at 7:37:06 AM today
EasyList Germany+EasyList Last updated at 10:37:06 PM on 11/23/2016

I update it regardless again :)

Anyway, thank you very much. Can i ask however.. i thought double @ was to create exceptions. Did i misunderstand that in the 'filter syntax' list that you whitelist things with double @ ?

Also, do you have, on the forums here somewhere or some such, an idiots guide to adblock rules or something like that?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking a Exo Script

Post by mapx »

@@ ==> whitelisting filters (Exceptions)

see:
en/filters
en/filter-cheatsheet
forum/viewtopic.php?f=1&t=42628
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Blocking a Exo Script

Post by smed79 »

Code: Select all

/backend_loader.$script
/frontend_loader.$script
Post Reply