💾 Archived View for gemini.bunburya.eu › newsgroups › gemini › messages › 1650501560.bystand@zzo38co… captured on 2023-06-16 at 16:36:21. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-06-04)
-=-=-=-=-=-=-
From: news@zzo38computer.org.invalid
Subject: Re: Firefox text/gemini
Date: Wed, 20 Apr 2022 17:44:45 -0700
Message-ID: <1650501560.bystand@zzo38computer.org>
Jason McBrayer <jmcbray@carcosa.net> wrote:
You can't write a WebExtension that's a Gemini client, because JS
doesn't have access to raw sockets. For this same reason, the current
version of the OverBite extension for Gopher isn't a complete solution
in itself; it rewrites URLs which are then served by the Floodgap
Gopher-to-HTTP proxy.
Then that is a problem with WebExtensions. (Another thing that I would
want to do, but that it doesn't do, is to be able to write extensions
in C.)
However, my code does not implement the Gemini protocol (although I
want to do that too, and it can probably be done directly in XPCOM
without needing a proxy); it only implements the Gemini file format
(which can be used with local files and Gempub, and any HTTP(S) servers
that serve text/gemini files, but I don't know if any do so).
I don't know if WebExtensions can implement file formats, and I also don't
know if any HTTP(S) server serves Gemini files. (Do you know?)
(Note: You can load ZIP archives (including EPUB) in Firefox by prefixing
the URL with "jar:" and adding "!/" on the end. This is a feature that I
use, but intend in future to make it automatically redirect to a jar: URL
if loading any ZIP file (including any whose MIME type has "+zip").)
--
Don't laugh at the moon when it is day time in France.
Parent:
Re: Firefox text/gemini (by Jason McBrayer <jmcbray@carcosa.net> on Wed, 20 Apr 2022 14:55:06 -0400)
Start of thread:
Firefox text/gemini (by news@zzo38computer.org.invalid on Sat, 05 Mar 2022 09:42:23 -0800)
Children: