mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Base: Add Wiby Search To New Tab Page
This commit is contained in:
parent
cea2071349
commit
cfb6baf973
|
@ -49,6 +49,7 @@
|
|||
<button type="button" onclick="search('frogfind')">FrogFind</button>
|
||||
<button type="button" onclick="search('github')">GitHub</button>
|
||||
<button type="button" onclick="search('google')">Google</button>
|
||||
<button type="button" onclick="search('wiby')">Wiby</button>
|
||||
<button type="button" onclick="search('yandex')">Yandex</button>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -86,6 +87,9 @@
|
|||
} else if (searchEngine == "google") {
|
||||
url = new URL("https://google.com/search");
|
||||
url.searchParams.set("q", query);
|
||||
} else if (searchEngine == "wiby") {
|
||||
url = new URL("https://wiby.me");
|
||||
url.searchParams.set("q", query);
|
||||
} else if (searchEngine == "yandex") {
|
||||
url = new URL("https://yandex.com/search");
|
||||
url.searchParams.set("text", query);
|
||||
|
|
Loading…
Reference in a new issue