dotfiles/qutebrowser
Marty Oehme f7304b8941
qutebrowser: Refactor gemini userscript
Now possibly a little less clunky (though still using soon-to-be
deprecated modules), and able to correctly surf gemini/non-gemini pages
as a userscript or as a stand-alone script (simply calling it from
command line).

Works as before for tabbed pages (the clunky rename/symlink way).

Can now also be used as the default way to surf to links so I switched
out my qutebrowser f/F link hinting for this script. Will simply open
links if staying on http but open gemini version as local file if moving
on to gemini.

Could probably be rewritten as an actual plugin to interject itself in
link opening to be a little more elegant (similar to the redirect code I
have running to move to open source web frontends).
2023-08-08 15:52:12 +02:00
..
.config/qutebrowser qutebrowser: Refactor gemini userscript 2023-08-08 15:52:12 +02:00
.local qutebrowser: Refactor gemini userscript 2023-08-08 15:52:12 +02:00