Video ads loaded through shared worker

Various discussions related to Adblock Plus development

Video ads loaded through shared worker

Postby thadsharedworker » Wed Nov 02, 2016 9:43 pm

There is a method of loading video ads through shared worker:
1. Vast url is passed to shared worker
2. Shared worker fetches and parses vast xml and finds all media files
3. Loads all media files through xhr to blobs
4. Creates objectURL from blobs
5. Replaces media files urls in xml to object urls
6. Sends back vast xml to front-end player

I've tested this personally and it works.
Is there a way to block it? If not, does Adblock plus team considers doing something about it?
thadsharedworker
 
Posts: 3
Joined: Wed Nov 02, 2016 9:31 pm

Re: Video ads loaded through shared worker

Postby mapx » Wed Nov 02, 2016 9:54 pm

example link / video ?
User avatar
mapx
 
Posts: 21733
Joined: Thu Jan 06, 2011 3:01 pm

Re: Video ads loaded through shared worker

Postby mapx » Wed Nov 02, 2016 9:58 pm

however, if you can provide details / examples / browser, perhaps you should file an issue on the bug tracker
https://issues.adblockplus.org

What if ABP is blocking blobs ? does the main video still playing or will wait for the video ads ?
User avatar
mapx
 
Posts: 21733
Joined: Thu Jan 06, 2011 3:01 pm

Re: Video ads loaded through shared worker

Postby thadsharedworker » Wed Nov 02, 2016 10:34 pm

I didn't know that ADB can block blobs. How to set this up?
thadsharedworker
 
Posts: 3
Joined: Wed Nov 02, 2016 9:31 pm

Re: Video ads loaded through shared worker

Postby mapx » Wed Nov 02, 2016 10:39 pm

only in firefox, see for example this filter from easylist:

Code: Select all
|blob:$script,domain=etmirror.com|etproxy.com|extratorrent.cc|extratorrent.date|extratorrent.works|extratorrentlive.com|extratorrentonline.com|fmovies.to|kickass.cd|nowvideo.sx|openload.co|stream2watch.cc|the-watch-series.to|thevideo.me|vidup.me|world4ufree.ws


in ABP for chrome you can use a filter like this (will inject a CSP in the page, blocking any content injected by blobs, websockets, service workers ..)
Code: Select all
*$websocket,domain=example.com
User avatar
mapx
 
Posts: 21733
Joined: Thu Jan 06, 2011 3:01 pm

Re: Video ads loaded through shared worker

Postby thadsharedworker » Wed Nov 02, 2016 10:42 pm

I'll test it and will report back.
thadsharedworker
 
Posts: 3
Joined: Wed Nov 02, 2016 9:31 pm


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 2 guests