options_page
Type | String |
---|---|
Mandatory | No |
Example | "options_page": "options/options.html" |
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
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 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
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
options_page |
Yes |
14 |
No |
? |
15 |
14 |
? |
? |
No |
? |
? |
? |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_page