mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Base+Browser+BrowserSettings: Add default page for new tab
This commit is contained in:
parent
6571455499
commit
b691269912
Notes:
sideshowbarker
2024-07-17 09:57:23 +09:00
Author: https://github.com/Xexxa
Commit: b691269912
Pull-request: https://github.com/SerenityOS/serenity/pull/14389
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/networkException
3 changed files with 99 additions and 2 deletions
|
@ -95,7 +95,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app_icon = GUI::Icon::default_icon("app-browser");
|
||||
|
||||
Browser::g_home_url = Config::read_string("Browser", "Preferences", "Home", "file:///res/html/misc/welcome.html");
|
||||
Browser::g_new_tab_url = Config::read_string("Browser", "Preferences", "NewTab", "file:///res/html/misc/welcome.html");
|
||||
Browser::g_new_tab_url = Config::read_string("Browser", "Preferences", "NewTab", "file:///res/html/misc/new-tab.html");
|
||||
Browser::g_search_engine = Config::read_string("Browser", "Preferences", "SearchEngine", {});
|
||||
Browser::g_content_filters_enabled = Config::read_bool("Browser", "Preferences", "EnableContentFilters", true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue