ladybird/Ladybird/DefaultSettings.h
Andreas Kling 722a669b22 Ladybird: Load about:blank when opening a new tab
Let's not show the unappealing about:newtab to new users by default.
If it becomes more useful/interesting in the future, we can reconsider.
2024-06-18 21:48:38 +02:00

22 lines
663 B
C++

/*
* Copyright (c) 2023, Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/StringView.h>
namespace Browser {
static constexpr StringView default_homepage_url = "resource://html/misc/welcome.html"sv;
static constexpr StringView default_new_tab_url = "about:blank"sv;
static constexpr StringView default_color_scheme = "auto"sv;
static constexpr bool default_enable_content_filters = true;
static constexpr bool default_show_bookmarks_bar = true;
static constexpr bool default_close_download_widget_on_finish = false;
static constexpr bool default_allow_autoplay_on_all_websites = false;
}