Path: blob/main/files/en-us/mozilla/add-ons/webextensions/manifest.json/options_page/index.md
6581 views
------{{AddonSidebar}}
| Type | String |
|---|---|
| Mandatory | No |
| Manifest version | 2 or higher |
| Example |
"options_page": "options/options.html" |
{{Deprecated_Header}}
Warning: This manifest key has been deprecated. Use
options_uiinstead.
Use the options_page key to define an options page for your extension.
The options page contains settings for the extension. The user can access it from the browser's add-ons manager, and you can open it from within your extension using {{WebExtAPIRef("runtime.openOptionsPage()")}}.
Unlike options pages specified using the newer options_ui key, options pages specified using the deprecated options_page key don't receive browser styles and always open in a normal browser tab.
Example
Browser compatibility
{{Compat}}