MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.7k stars 4.79k forks source link

Integrate webRequest redirecting to preserve urls on ipfs/ens sites. #7367

Closed danfinlay closed 3 years ago

danfinlay commented 4 years ago

The way we incorporate redirecting should preserve the URL context (either ens:// or ipfs:// etc). This would also allow decentrally-hosted sites to persist cookies even after the gateway is changed.

I think that API may be webRequest.onBeforeRequest().

That work can build on https://github.com/MetaMask/metamask-extension/pull/7362, and should also be useful for the snaps system.

danfinlay commented 4 years ago

When we're ready to resume supporting ipfs resolution, we should reach out to Colin from protocol labs (@protocolin on their slack). He offered to connect us with some relevant people.

Gudahtt commented 3 years ago

Closing as a duplicate of #9353, which despite being more recent seemed to be a bit less prescriptive about how we'd accomplish this? At least in the title anyway.