Page 1 of 1

Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 8:43 pm
by thadsharedworker
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?

Re: Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 8:54 pm
by mapx
example link / video ?

Re: Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 8:58 pm
by mapx
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 ?

Re: Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 9:34 pm
by thadsharedworker
I didn't know that ADB can block blobs. How to set this up?

Re: Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 9:39 pm
by mapx
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

Re: Video ads loaded through shared worker

Posted: Wed Nov 02, 2016 9:42 pm
by thadsharedworker
I'll test it and will report back.