tomayac’s avatartomayac’s Twitter Archive—№ 11,045

  1. …in reply to @undefined
    @nhoizey @mathias @jeffposnick @addyosmani @rowan_m @iAlbMedina This only works for iframe documents, not the main document. Use the mode instead: github.com/tomayac/affilicats/blob/master/src/sw.js#L124.
    1. …in reply to @tomayac
      @nhoizey @mathias @jeffposnick @addyosmani @rowan_m @iAlbMedina The reason it’s “unknown” is that you can navigate to anything via the browser’s URL bar: an image, a .js file, a .txt file, or maybe an HTML document. Technically, by the way, this is true for iframes as well of course. fetch.spec.whatwg.org/#concept-request-destination