ipfs-companion icon indicating copy to clipboard operation
ipfs-companion copied to clipboard

ipfs:// and ipns:// in Chromium work only in address bar

Open kovan opened this issue 4 years ago • 1 comments

Describe the bug I have a website with ipns:// links. With Brave browser they work fine, but I can't get them to work with Chrome + IPFS Companion, even though I have enabled the mentioned option "Catch Unhandled IPFS Protocols" in IPFS Companion settings. I know this feature is experimental, but I think it is quite important for this to work properly.

Thanks for your work and regards.

To Reproduce Steps to reproduce the behavior:

  1. Enable "Catch Unhandled IPFS Protocols" in settings.
  2. Try to open an ipns:// link.
  3. Nothing happens

Expected behavior The link should be followed by the browser.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version 89.0.4389.128

kovan avatar Apr 16 '21 13:04 kovan

ipns:// in Chromium works, but only when you enter it via address bar. It is not possible to use it in src or href attributes inside of HTML documents at the moment.

IPFS project collaborates with Igalia on this upstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=64100

When it is addressed, Companion will be able to register proper protocol handler, just like we do in Firefox.

lidel avatar May 10 '21 12:05 lidel