ipfs / ipfs-companion

Browser extension that simplifies access to IPFS resources on the web
https://docs.ipfs.tech/install/ipfs-companion/
Creative Commons Zero v1.0 Universal
2.05k stars 325 forks source link

[MV3 Enhancement] Better than refresh UX. #1234

Closed whizzzkid closed 1 year ago

whizzzkid commented 1 year ago

Current implementation involves, observing the request, checking if it can be served over ipfs, adding a redirect rule and refreshing the page.

This works, but may not be the nicest UX. an alternative may be:

However, this won't always work, as the original request will be on it's way to be redirected to the original url. The refresh only happens if we can determine the current URL can be resolved over the local node.

whizzzkid commented 1 year ago

Fixed in https://github.com/ipfs/ipfs-companion/pull/1239