IIRC, service workers allow you to intercept all requests made by the page, for the purposes of implementing offline caching.
I think the origin-trial for this expires early next year.
https://developers.google.com/web/updates/2016/09/foreign-fe... https://groups.google.com/a/chromium.org/forum/#!topic/Blink...