Video ads loaded through shared worker

Various discussions related to Adblock Plus development
Post Reply
thadsharedworker
Posts: 3
Joined: Wed Nov 02, 2016 8:31 pm

Video ads loaded through shared worker

Post 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?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Video ads loaded through shared worker

Post by mapx »

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

Re: Video ads loaded through shared worker

Post 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 ?
thadsharedworker
Posts: 3
Joined: Wed Nov 02, 2016 8:31 pm

Re: Video ads loaded through shared worker

Post by thadsharedworker »

I didn't know that ADB can block blobs. How to set this up?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Video ads loaded through shared worker

Post 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
thadsharedworker
Posts: 3
Joined: Wed Nov 02, 2016 8:31 pm

Re: Video ads loaded through shared worker

Post by thadsharedworker »

I'll test it and will report back.
Post Reply