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.07k stars 324 forks source link

Normalize URL of newly created bookmark #254

Open lidel opened 7 years ago

lidel commented 7 years ago

@jefft0 asked:

[..] What happens when someone is viewing an IPFS page and bookmarks the link? Does it bookmark the idiosyncratic, temporary link with the gateway address, or does it bookmark the long-living, useful, location-independent IPFS link with just the hash? If it bookmarks the idiosyncratic, temporary link with the gateway address, then it is not sustainable for the long term.

I agree!

lidel commented 7 years ago

I tried to implement this, but Firefox 56 did not to support browser.bookmarks.onCreated.addListener:

2017-07-22-155540_682x59_scrot

In other words, it seems this feature can't be implemented until upstream bugs are resolved: