options_page
Type | String |
---|---|
Mandatory | No |
Manifest version | 2 or higher |
Example |
json
|
Use the options_page
key to define an options page that opens in a new tab. You use this page to enable users to modify your extension's settings.
The way the user opens the page is browser-dependent. In Firefox, the page opens when the extension's icon is clicked. Your extension can also open the page using runtime.openOptionsPage()
.
Alternatively, you can use the options_ui
key with open_in_tab
set to true
. If options_ui
is specified, options page
is ignored.
See options_ui
for more information on developing a settings page.
Example
json
"options_page": "options/options.html"
Browser compatibility
BCD tables only load in the browser