JSON Schema Property 'options_ui'

Description

To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, an Options link will be shown on the extensions management page at chrome://extensions which opens a dialogue containing your options page.

Diagram

Drilldown into /properties/options_ui/properties/open_in_tab Drilldown into /properties/options_ui/properties/open_in_tab Drilldown into /properties/options_ui/properties/open_in_tab Drilldown into /properties/options_ui/properties/chrome_style Drilldown into /properties/options_ui/properties/chrome_style Drilldown into /properties/options_ui/properties/chrome_styleJSON Schema Diagram of /properties/options_ui

Value

Object

Properties

Property Name Type Description
page string A String value
The path to your options page, relative to your extension's root..
chrome_style boolean chrome_style
open_in_tab boolean open_in_tab
Additional Properties Type Description
Any Property Any All values are valid, no restrictions.

Source

"options_ui": {
    "type": "object",
    "description": "To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, an Options link will be shown on the extensions management page at chrome://extensions which opens a dialogue containing your options page.",
    "properties": {
        "page": {
            "type": "string",
            "description": "The path to your options page, relative to your extension's root."
        },
        "chrome_style": {
            "type": "boolean",
            "description": "If true, a Chrome user agent stylesheet will be applied to your options page. The default value is false, but we recommend you enable it for a consistent UI with Chrome.",
            "default": true
        },
        "open_in_tab": {
            "type": "boolean",
            "description": "If true, your extension's options page will be opened in a new tab rather than embedded in chrome://extensions. The default is false, and we recommend that you don't change it. This is only useful to delay the inevitable deprecation of the old options UI! It will be removed soon, so try not to use it. It will break.",
            "default": false
        }
    },
    "required": [
        "page"
    ]
}
http://json.schemastore.org/chrome-manifest (340:6)

References

Documentation for Chrome Manifest
Generated using Liquid Studio 2018 - JSON Studio Edition 16.0.0.7949