Safari:Settings ()

The declaration to configure Safari settings.

iOS(26.0)macOS(26.0)visionOS(26.0)
Branch: release

Settings (11)

SettingTypeRequiredDefaultManual InstallSupported OS
Accept Cookies
AcceptCookies
The policy Safari uses for managing cookies: - `Never`: Safari always blocks cookies. - `CurrentWebsite`: Safari allows cookies only from the current website. - `VisitedWebsites`: Safari allows cookies only from visited websites. - `Always`: Safari always allows cookies.
stringoptionalAlways
No
Allow Disabling Fraud Warning
AllowDisablingFraudWarning
If `false`, the system forces fraud warnings on in Safari.
booleanoptionaltrue
No
Allow History Clearing
AllowHistoryClearing
If `false`, the system disables clearing history in Safari.
booleanoptionaltrue
No
Allow JavaScript
AllowJavaScript
If `false`, the system disables JavaScript in Safari.
booleanoptionaltrue
No
Allow Private Browsing
AllowPrivateBrowsing
If `false`, the system disables private browsing in Safari.
booleanoptionaltrue
No
Allow Popups
AllowPopups
If `false`, the system disables popups in Safari.
booleanoptionaltrue
No
Allow Summary
AllowSummary
If `false`, the system disables summarization of content in Safari.
booleanoptionaltrue
No
New Tab Start Page
NewTabStartPage
Sets the start page for new tabs in Safari.
3 subkeys
dictionaryoptional
Yes
iOS (26.0+)macOS (26.0+)visionOS (26.0+)
└─
PageType
PageType
Sets the start page type in Safari: - `Start` - Safari uses the default start page. Safari disables the Homepage. - `Home` - Safari uses the page specified by `HomepageURL`, and Safari also sets that as the Homepage. - `Extension` - Safari uses the page specified by the Safari extension whose identifier is `ExtensionIdentifier`. Safari disables the Homepage.
stringrequired
Yes
iOS (26.0+)macOS (26.0+)visionOS (26.0+)
└─
The homepage URL.
HomepageURL
The URL of the homepage which needs to start with `https://` or `http://`. Required when setting `PageType` to `Home`.
stringoptional
Yes
iOS (26.0+)macOS (26.0+)visionOS (26.0+)
└─
The extension identifier.
ExtensionIdentifier
The composed identifier of the extension that provides the start page. The required format is "Identifier (TeamIdentifier)", for example "com.example.app (ABCD1234)". Required when setting `PageType` to `Extension`.
stringoptional
Yes
iOS (26.0+)macOS (26.0+)visionOS (26.0+)