1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

Browser: Add GitHub and Yandex to search engines

This commit is contained in:
Panagiotis Vasilopoulos 2021-04-28 23:15:42 +00:00 committed by GitHub
parent 21ba438ad3
commit 278605cde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -433,7 +433,9 @@ Tab::Tab(Type type)
// FIXME: Support adding custom search engines
add_search_engine("Bing", "https://www.bing.com/search?q={}");
add_search_engine("DuckDuckGo", "https://duckduckgo.com/?q={}");
add_search_engine("GitHub", "https://github.com/search=?q={}");
add_search_engine("Google", "https://google.com/search?q={}");
add_search_engine("Yandex", "https://yandex.com/search/?text={}");
auto& debug_menu = m_menubar->add_menu("&Debug");
debug_menu.add_action(GUI::Action::create(