Firefox Add-on protocol schema

1. Leo (list (a) gkbrk.com)

Firefox has a hard-coded list of schemas that extensions are allowed to 
handle without the web+
or webext+ prefix. I believe gopher can be handled this way.

Has anyone got in touch or created an issue to add gemini to this list? 
While it defeats the purpose
of having a separate protocol and document format, it would be good to 
make all the gemini:// links
work in Firefox.

Leo

Link to individual message.

2. acdw (acdw (a) acdw.net)

On 2020-09-14 (Monday) at 14:30, Leo <list at gkbrk.com> wrote:

> Firefox has a hard-coded list of schemas that extensions are allowed to 
> handle without the web+
> or webext+ prefix. I believe gopher can be handled this way.
> 
> Has anyone got in touch or created an issue to add gemini to this list? 
> While it defeats the purpose
> of having a separate protocol and document format, it would be good to 
> make all the gemini:// links
> work in Firefox.
> 
> Leo

I haven't, but I've come across this problem as well. Would it be possible 
for an add-on to just add "web+" to all <a> tags with href^=gemini:// ? 
Then define a protocol handler to web+gemini?

I was going to try this but my Javascript skills are sorely lacking.

-- 
~ acdw
acdw.net | breadpunk.club/~breadw

Link to individual message.

3. Emma Humphries (ech (a) emmah.net)

There's a couple of Bugzilla bugs to follow on that:

https://bugzilla.mozilla.org/show_bug.cgi?id=1385357 this looks like this 
got regressed as reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1629149.

I'll log in and update that.

-- Emma 


On Mon, Sep 14, 2020, at 11:17, acdw wrote:
> On 2020-09-14 (Monday) at 14:30, Leo <list at gkbrk.com> wrote:
> 
> > Firefox has a hard-coded list of schemas that extensions are allowed to 
> > handle without the web+
> > or webext+ prefix. I believe gopher can be handled this way.
> > 
> > Has anyone got in touch or created an issue to add gemini to this list? 
> > While it defeats the purpose
> > of having a separate protocol and document format, it would be good to 
> > make all the gemini:// links
> > work in Firefox.
> > 
> > Leo
> 
> I haven't, but I've come across this problem as well. Would it be 
> possible for an add-on to just add "web+" to all <a> tags with 
> href^=gemini:// ? Then define a protocol handler to web+gemini?
> 
> I was going to try this but my Javascript skills are sorely lacking.
> 
> -- 
> ~ acdw
> acdw.net | breadpunk.club/~breadw
>

Link to individual message.

4. Andre Garzia (andre (a) andregarzia.com)

I believe I was one of the last people  to get niche protocols in that list
as can be seen on this bugzilla issue[1]. I know that there is a
disconnection between that list and whatever is used by
"registerProtocolHanlder"[2], and that people at Igalia are working on
patches to webkit/blink and talking to Mozilla to make sure the
registerProtocolHandler works the same on all browser and has the dweb
protocols in it. We got SSB whitelisted in that work. You can learn a bit
more about it in [3]. I suspect that a simple patch like I did on [1] will
not work, but opening an issue and maybe attaching a patch like that might
be a good conversation opener with the maintainers. A message on one of the
channels outlined in [4] asking for help with it might be a good way to go
as well.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1428446
[2]:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
[3]: https://github.com/whatwg/html/issues/3935
[4]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Contact_us



On Mon, 14 Sep 2020 at 19:22, Emma Humphries <ech at emmah.net> wrote:

> There's a couple of Bugzilla bugs to follow on that:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1385357 this looks like this
> got regressed as reported in
> https://bugzilla.mozilla.org/show_bug.cgi?id=1629149.
>
> I'll log in and update that.
>
> -- Emma
>
>
> On Mon, Sep 14, 2020, at 11:17, acdw wrote:
> > On 2020-09-14 (Monday) at 14:30, Leo <list at gkbrk.com> wrote:
> >
> > > Firefox has a hard-coded list of schemas that extensions are allowed
> to
> > > handle without the web+
> > > or webext+ prefix. I believe gopher can be handled this way.
> > >
> > > Has anyone got in touch or created an issue to add gemini to this
> list?
> > > While it defeats the purpose
> > > of having a separate protocol and document format, it would be good to
> > > make all the gemini:// links
> > > work in Firefox.
> > >
> > > Leo
> >
> > I haven't, but I've come across this problem as well. Would it be
> > possible for an add-on to just add "web+" to all <a> tags with
> > href^=gemini:// ? Then define a protocol handler to web+gemini?
> >
> > I was going to try this but my Javascript skills are sorely lacking.
> >
> > --
> > ~ acdw
> > acdw.net | breadpunk.club/~breadw
> >
>


-- 
https://www.andregarzia.com <http://www.andregarzia.com>
Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200914/bac6
7dad/attachment.htm>

Link to individual message.

---

Previous Thread: [ANN] Lagrange - A Beautiful Gemini Client

Next Thread: Automatic hyphenation and the lang parameter to text/gemini