AboutSupportDeveloper GuideVersion 41.133.100.79

Conditional settings for a domain or set of domains.

interface PerDomainSettings {
    api?: DomainApiSettings;
    chromiumPolicies?: ChromiumPolicies;
    content?: ContentPermission;
    contentProtection?: {
        clipboard?: ClipboardPermissions;
        screenCapture?: ScreenCaptureBehavior;
    };
    downloadSettings?: FileDownloadSettings;
}

Properties

chromiumPolicies?: ChromiumPolicies

Whether DOM content can be loaded (by navigation or redirect).

If this is included in DomainSettings.default, then ContentNavigation and ContentRedirect in WindowOptions and ViewOptions will be ignored.

contentProtection?: {
    clipboard?: ClipboardPermissions;
    screenCapture?: ScreenCaptureBehavior;
}

Type declaration

downloadSettings?: FileDownloadSettings

Domain-conditional rules for file downloads.