main/core-settings
Variables
Section titled “Variables”AccentSetting
Section titled “AccentSetting”
constAccentSetting:SettingDefinition<string>
Defined in: app/src/main/core-settings.ts:36
Accent color: a preset such as blue, or a custom #rrggbb color.
BlockerAllowedSitesSetting
Section titled “BlockerAllowedSitesSetting”
constBlockerAllowedSitesSetting:SettingDefinition<string[]>
Defined in: app/src/main/core-settings.ts:77
Sites, by host name or domain, on which the content blocker is off; a domain covers its hosts.
BlockerAnnoyancesSetting
Section titled “BlockerAnnoyancesSetting”
constBlockerAnnoyancesSetting:SettingDefinition<boolean>
Defined in: app/src/main/core-settings.ts:102
Whether the content blocker also hides annoyances, such as newsletter and chat boxes, with the optional lists for them.
BlockerCookieNoticesSetting
Section titled “BlockerCookieNoticesSetting”
constBlockerCookieNoticesSetting:SettingDefinition<boolean>
Defined in: app/src/main/core-settings.ts:89
Whether the content blocker also hides cookie notices, with the optional lists for them.
BookmarksBarSetting
Section titled “BookmarksBarSetting”
constBookmarksBarSetting:SettingDefinition<boolean>
Defined in: app/src/main/core-settings.ts:173
Whether the bookmarks bar shows the bookmarks of its folder below the toolbar.
ColorModeSetting
Section titled “ColorModeSetting”
constColorModeSetting:SettingDefinition<"system"|"light"|"dark">
Defined in: app/src/main/core-settings.ts:27
Whether the browser follows the system’s light or dark mode, or always uses one.
ContentBlockerSetting
Section titled “ContentBlockerSetting”
constContentBlockerSetting:SettingDefinition<boolean>
Defined in: app/src/main/core-settings.ts:67
Whether the content blocker blocks ads, trackers and what pages load from known malware hosts.
coreSettings
Section titled “coreSettings”
constcoreSettings: (SettingDefinition<string> |SettingDefinition<boolean> |SettingDefinition<string[]> |SettingDefinition<Record<string,number>> |SettingDefinition<Readonly<Record<string,Readonly<Partial<Record<SitePermission,PermissionDecision>>>>>>)[]
Defined in: app/src/main/core-settings.ts:200
Settings that exist before any feature module contributes its own.
DensitySetting
Section titled “DensitySetting”
constDensitySetting:SettingDefinition<"compact"|"normal"|"comfortable">
Defined in: app/src/main/core-settings.ts:48
Size of the toolbar and the tabs.
LanguageSetting
Section titled “LanguageSetting”
constLanguageSetting:SettingDefinition<string>
Defined in: app/src/main/core-settings.ts:186
The language of the browser’s menus, dialogs and own pages: system follows the language
of the system, a language code such as de sets one. It takes effect after a restart.
SearchUrlTemplate
Section titled “SearchUrlTemplate”
constSearchUrlTemplate:SettingDefinition<string>
Defined in: app/src/main/core-settings.ts:17
Search URL used by the address bar, with %s for the query. The default engine is a
plain search URL; no partnership or tracking parameter is involved.
SetupShownSetting
Section titled “SetupShownSetting”
constSetupShownSetting:SettingDefinition<boolean>
Defined in: app/src/main/core-settings.ts:165
Whether this profile has shown the setup guide; it opens once per profile.
SitePermissionsSetting
Section titled “SitePermissionsSetting”
constSitePermissionsSetting:SettingDefinition<Readonly<Record<string,Readonly<Partial<Record<SitePermission,PermissionDecision>>>>>>
Defined in: app/src/main/core-settings.ts:131
What sites may use after the user answered their question, by origin, such as
{"https://meet.example": {"camera": "allow", "notifications": "block"}}.
SiteZoomSetting
Section titled “SiteZoomSetting”
constSiteZoomSetting:SettingDefinition<Record<string,number>>
Defined in: app/src/main/core-settings.ts:112
The zoom factor of each site whose zoom someone changed, by host name.
StartupSetting
Section titled “StartupSetting”
constStartupSetting:SettingDefinition<"newtab"|"restore">
Defined in: app/src/main/core-settings.ts:156
What the browser shows when it starts: the tabs of the last session, or a new tab page.
TabStripPositionSetting
Section titled “TabStripPositionSetting”
constTabStripPositionSetting:SettingDefinition<"left"|"top"|"bottom"|"right">
Defined in: app/src/main/core-settings.ts:57
Where the tab strip is; vertical positions show the tabs as a list at the side.