AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
715 stars 66 forks source link

Allow webapps / extensions to handle protocol urls with Navigator.registerProtocolHandler() #197

Open av8ta opened 2 years ago

av8ta commented 2 years ago

I'm thinking since we already have urls like agregore://welcome, why not have protocol specific extensions mounted at paths appended to the protocol string? Perhaps an extension at ssb://settings could be directed to when onboarding to ssb.

Would you mind opening a separate issue to talk about that? It feels like this use case would be better suited for navigator.registerprotocolhandler

Originally posted by @RangerMauve in https://github.com/AgregoreWeb/agregore-browser/issues/196#issuecomment-1173152529

RangerMauve commented 1 year ago

Yeah, I think the use case there was to have renderers for content on p2p protocols.

I'm wondering whether registering protocol handlers is the only way to go about it or if the stuff in #200 could be a path towards this as well.

@av8ta Could you elaborate on the use case for this thread?