Safari App Extension Info Property List Keys

Specify keys in your info property list file that provide information about your Safari App Extension, UI, and permissions to the operating system.

Overview

Safari App Extensions define keys that inform the operating system about your app extension's capabilities and intents. Keys for app extensions follow a particular hierarchical structure.

Topics

First Steps

About Safari App Extension Default Keys

Learn about the default keys in the information property list file.

Access and Permissions

Setting Safari App Extension Feature Keys

Set keys for permissions, scripts, style sheets, contextual menu items, and toolbar items in the information property list file.

Adjusting Website Access Permissions

Set website access permissions in a Safari App Extension using information property list keys.

About Permissions for Scripts and Style Sheets

Learn about URL permissions for scripts and style sheets in a Safari App Extension using information property list keys.

Conditional Scripts and Style Sheet Injection

About Content Script and Style Sheet Keys

Learn about controlling style sheet and script injection with information property list keys.

Contextual Menu and Toolbar Items

About Contextual Menu and Toolbar Item Keys

Learn about adding contextual menu items and toolbar items to a Safari App Extension with information property list keys.

Adjusting Settings for a Toolbar Item

Customize a toolbar item for your Safari App Extension.

Adjusting Settings for Contextual Menu Items

Customize contextual menu items for your Safari App Extension.

class SFSafariToolbarItem

A proxy for a Safari app extension toolbar item in a Safari window.

class SFSafariExtensionViewController

The view controller for a popover associated with your app extension.