webrtc / websocket ads not blocked

Everything about using Adblock Plus on Google Chrome
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

webrtc / websocket ads not blocked

Post by davida »

HI,
I'm using the latest Easylist & Easylist-hebrew and the latest adbock plus and chrome.
but for some reason even so i have a filter for webrtc that UPONIT use to serve ads i keep getting ads.
for sites like : ynet.co.il, mako.co.il , calcalist.co.il .......
why does adblock plus cant block it? and solution?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

Provide example page.
What webrtc filter did you add in ABP ?
Upload (use imgur.com) a screenshot indicating the ads.

You could also try the last dev build of ABP (disabling the current ABP) and last chrome.
https://chrome.google.com/webstore/deta ... ifjjdoepkn


Did you ask for help at easylist hebrew list ?
https://github.com/easylist/EasyListHebrew/issues
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

Hi mapx,
i have uploaded 3 images at: https://imgur.com/a/AOJDt
the website is : mako.co.il.
i also added a screenshot of the network and you can see that the websocket to uponit server isn't blocked at all despite of the rules in easylist&easylist-hebrew that should OBVIOUSLY block it.
i also tried adblock plus dev and still shows ads.

WTF? how they manage to bypass those rules?

btw - because adblock plus doesn't block the websocket, uponit js doesn't switch to webrtc... :(
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

try

Code: Select all

||a.jquerymin.co.il/wsm
||mako.co.il/Collab/cm8/360Advert.js
$websocket,domain=mako.co.il
$webrtc,domain=mako.co.il
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

I can see now in the console the request blocked but i can still see the ads so i guess they switched to webrtc.
why webrtc requests not blocked? how can i view them?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

well, probably you should use uBo (ublock origin) which seems to deal better with the israelian sites (but disable ABP)
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

i love ABP why should i switch ? it's that hard to block them? can't ABP on chrome block webrtc?
And one other thing to mention is if i use proxy to intercept the webpage response and add in the head a simple script to execute simple websocket connection to some random host the request blocked by ABP as expected but for some reason without your filter the uponit request (websocket) doesn't get blocked! what is happening this is weird . can someone check this out? (the easylist-hebrew filter blocks all thirs-party requests so how do they manage to overcome this?)
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

on the bug tracker was reported (3 months ago) exactly this unfixed case (uponit circumventing webrtc implementation), so, for the moment only uBo is working.

easylist hebrew is using also uBo specific features (keywords)
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

do you think google will fix this? or ABP or any other extension will never be able to block webrtc?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

it was already reported time ago to google (asking webrtc to be included in the webrequest api), but no news
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

they somehow manage to create a websocket again even with those filters.
can you take a look and explain this to me? how did thay manage to create a websocket if all third-party domains are blocked?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

The whole story is here:
https://issues.adblockplus.org/ticket/5382

but is ...confidential. However they're accessing an unwrapped copy of RTCPeerConnection.
They are not using external code but inline-scripts.
ABP has no specific weapons fighting inline scripts (like uBo or adguard).
davida
Posts: 17
Joined: Thu Oct 19, 2017 7:45 am

Re: webrtc ads not blocked

Post by davida »

yes i know they are using inline javascript , but how do they manage to access unwrapped copy of RTCPeerConnection?
and how do they manage to connect to a websocket not webrtc even with those filters in place?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: webrtc ads not blocked

Post by mapx »

If you want to see that ticket register a user on the bug tracker and let me know
Post Reply