search shortcut and slightly more DRY code

This commit is contained in:
stjet
2025-03-23 23:45:59 +00:00
parent 042477c6af
commit 5325eaf195
5 changed files with 60 additions and 64 deletions

View File

@@ -4,6 +4,7 @@ Koxinga is a web browser supporting text and links.
- `u`: URL mode, where a URL can be inputted. Hit enter/return to go to that page.
- `l`: Link mode. The page will now show numbers in front of any links. Input the number corresponding to the link to navigate to, then hit enter/return.
- `s`: Search mode. Search engine is http://frogfind.de. Frogfind doesn't seem to use a valid HTTPS certificate yet. But all the other search engines block Koxinga, do not work without Javascript, or give horribly mangled invalid HTML. Such is the state of the world...
- `j`, `k` to scroll page.
- `0`: Go to top of page.
- `G`: Go to bottom of page.