Enabling Greasemonkey over Gemtext

Juraj Oravec jurajoravec at netc.it
Tue Mar 17 17:25:46 GMT 2026


On pondelok 16. marca 2026 20:45:26 stredoeurópsky štandardný čas 
Schimon Jehudah wrote:
> Greetings.

Hello Schimon,

> When Falkoon would have support of Gemini, this could be the process
> to apply Greasemonkey extensions upon Gemtext documents.
> 
> 1. Convert Gemtext to XHTML;
> 2. Apply script;
> 3. Convert to Gemtext.
> 
> Of course, the use is expected to be mostly general; yet, there still
> be uses to have Greasemonkey script executed upon Gemtext.
> 
> For insance, keyword filtering or conversion of HTTP links to be
> utilized by a Gemini gateway to HTTP, et cetera

QtWebEngine which runs GreaseMonkey scripts through its UserScript 
functionality works on HTML "only". The KIO interfaces provided through 
"KDE Integration" plugin also output HTML to Falkon, the Gemini plugin 
would also give Falkon only HTML, Falkon would never see the Gemtext.

Sure, the KIO plugin could contain some function, argument or a keyword 
which would instruct it to dump "raw" Gemtext to Falkon instead of pre-
processed html variant.

To be able to run GreaseMonkey on the custom scheme provided by the KIO 
Gemini plugin (eg: "gemini://") we need to check that. It could be 
locked only to "the web" protocols/schemes (eg: http/s).

> P.S. I would rather utilize console or command line software.

Me as well, CLI and TUI programs ten1d to be much smaller and faster 
compared to GUI variants.

> Regards,
> Schimon

Best regards,
Juraj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/falkon/attachments/20260317/5029280e/attachment.sig>


More information about the Falkon mailing list