diff --git a/koxinga.md b/koxinga.md index 93e958e..85534a9 100644 --- a/koxinga.md +++ b/koxinga.md @@ -4,7 +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... +- `s`: Search mode. Search engine is https://old-search.marginalia.nu - `j`, `k` to scroll page. - `0`: Go to top of page. - `G`: Go to bottom of page. diff --git a/src/main.rs b/src/main.rs index 2fe8137..76aedc2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,7 +118,7 @@ impl WindowLike for KoxingaBrowser { Mode::Url | Mode::Search | Mode::Link => { if key_press.is_enter() && self.input.len() > 0 { let new_url = if self.mode == Mode::Search { - "http://frogfind.de/?q=".to_string() + &self.input + "https://old-search.marginalia.nu/search?query=".to_string() + &self.input } else if self.mode == Mode::Link { let link_index = self.input.parse::().unwrap(); let url = self.url.as_ref().unwrap();