Take advantage of Contextual Identities in Firefox #194
Open
Description
A new API,
browser.contextualIdentities
, landed in Firefox 53 to support the security container feature. In Firefox 52, support forcontextualIdentities
was added to tab and cookie stores. This API provides access to query existing identities, create, update and remove those identities.
- Q: is this feature a viable workaround for the origin problem when multiple sites are loaded from multiple http2ipfs gateways?
- A: Not really, it does not give control over how Origin is calculated, but enables us to create a sandbox per IPFS Root in a new tab, which is better than nothing.
Potential Uses
- Opening CID-in-subdomain and DNSLink websites from local gateway without worrying about shared Origin (Redirect of CID-in-subdomain and DNSLink websites #667, create container per IPFS Root)
More:
- https://blog.mozilla.org/tanvi/2016/06/16/contextual-identities-on-the-web/
- https://blog.mozilla.org/addons/2017/01/25/webextensions-in-firefox-53/
Docs: