sammacbeth / dat-fox

dat:// protocol as a Firefox webextension
MIT License
250 stars 12 forks source link

Support the new Firefox decentralized features #31

Closed danimesq closed 5 years ago

danimesq commented 5 years ago

I've hear that from Firefox 57 there would have support for extensions with decentralized protocols (really enabling dat:// protocol and others). I think this extension should update to this.

sammacbeth commented 5 years ago

This is exactly what this extension does. The support you mention was for support for protocols such as dat with the protocol_handler manifest key.

danimesq commented 5 years ago

@sammacbeth But it says the extension can't show "dat://" protocol on addressbar, so how Firefox supports the protocol?

sammacbeth commented 5 years ago

Yes, the support for protocols that was announced is just that the browser will accept a url starting with dat://, however the limitations of the API mean that we can only do a redirect from these urls.

If you are looking for full dat:// protocol support in Firefox, check out the libdweb project. Using this I have an experimental extension running proving dat protocol support: https://github.com/cliqz-oss/dat-webext