Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/add-ons/webextensions/manifest.json/options_page/index.md
6581 views
---
title: options_page slug: Mozilla/Add-ons/WebExtensions/manifest.json/options_page page-type: webextension-manifest-key tags: - Add-ons - Deprecated - Extensions - Manifest - Options - WebExtensions - options_page browser-compat: webextensions.manifest.options_page
---

{{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_ui instead.

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

"options_page": "options/options.html"

Browser compatibility

{{Compat}}

See also