Hacker News new | ask | show | jobs
by mook 2942 days ago
> You couldn't, until Firefox 59. Before that, protocol handlers were not allowed to handle links to Dat/IPFS resources [0].

You could, kind of, before Firefox 57 (or at least, at some point). Implementing nsIProtocolHandler/nsIChannel/etc. correctly was difficult (and probably not from JavaScript), and distribution problems meant nobody did it.

2 comments

No, not nobody. OverbiteFF was implemented in nearly exactly that fashion, and 100% JavaScript.

https://addons.mozilla.org/en-US/firefox/addon/overbiteff/

But, not possible anymore (without tricks).

True, I remember looking into that and it was all a bit of a mess.