mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
Base: Add Wiby Search To New Tab Page
This commit is contained in:
parent
cea2071349
commit
cfb6baf973
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue