Class

SafariExtensionSecureSettings

The SafariExtensionSecureSettings class provides a place for your extension to securely store settings that should persist between sessions. You interact with it in exactly the same way as you interact with the SafariExtensionSettings class.

Topics

Reading and Writing Settings

getItem

Returns the current value of a key.

setItem

Sets the value of a key.

Removing Settings

removeItem

Removes a key.

clear

Removes all key-value pairs.

Relationships