Skip to content

main/core-settings

const AccentSetting: SettingDefinition<string>

Defined in: app/src/main/core-settings.ts:36

Accent color: a preset such as blue, or a custom #rrggbb color.


const BlockerAllowedSitesSetting: 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.


const BlockerAnnoyancesSetting: 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.


const BlockerCookieNoticesSetting: 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.


const BookmarksBarSetting: SettingDefinition<boolean>

Defined in: app/src/main/core-settings.ts:173

Whether the bookmarks bar shows the bookmarks of its folder below the toolbar.


const ColorModeSetting: 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.


const ContentBlockerSetting: 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.


const coreSettings: (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.


const DensitySetting: SettingDefinition<"compact" | "normal" | "comfortable">

Defined in: app/src/main/core-settings.ts:48

Size of the toolbar and the tabs.


const LanguageSetting: 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.


const SearchUrlTemplate: 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.


const SetupShownSetting: SettingDefinition<boolean>

Defined in: app/src/main/core-settings.ts:165

Whether this profile has shown the setup guide; it opens once per profile.


const SitePermissionsSetting: 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"}}.


const SiteZoomSetting: 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.


const StartupSetting: 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.


const TabStripPositionSetting: 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.