JSON Schema /properties/content_scripts/items[0]

Diagram

Drilldown into /properties/content_scripts/items[0]/properties/match_about_blank Drilldown into /properties/content_scripts/items[0]/properties/match_about_blank Drilldown into /properties/content_scripts/items[0]/properties/match_about_blank Drilldown into /properties/content_scripts/items[0]/properties/exclude_globs Drilldown into /properties/content_scripts/items[0]/properties/exclude_globs Drilldown into /properties/content_scripts/items[0]/properties/exclude_globs Drilldown into /properties/content_scripts/items[0]/properties/include_globs Drilldown into /properties/content_scripts/items[0]/properties/include_globs Drilldown into /properties/content_scripts/items[0]/properties/include_globs Drilldown into /properties/content_scripts/items[0]/properties/all_frames Drilldown into /properties/content_scripts/items[0]/properties/all_frames Drilldown into /properties/content_scripts/items[0]/properties/all_frames Drilldown into /properties/content_scripts/items[0]/properties/run_at Drilldown into /properties/content_scripts/items[0]/properties/run_at Drilldown into /properties/content_scripts/items[0]/properties/run_at Drilldown into /properties/content_scripts/items[0]/properties/run_at Drilldown into /definitions/scripts Drilldown into /properties/content_scripts/items[0]/properties/css Drilldown into /properties/content_scripts/items[0]/properties/css Drilldown into /properties/content_scripts/items[0]/properties/css Drilldown into /properties/content_scripts/items[0]/properties/exclude_matches Drilldown into /properties/content_scripts/items[0]/properties/exclude_matches Drilldown into /properties/content_scripts/items[0]/properties/exclude_matches Drilldown into /properties/content_scripts/items[0]/properties/matches Drilldown into /properties/content_scripts/items[0]/properties/matches Drilldown into /properties/content_scripts/items[0]/properties/matches Drilldown into /properties/content_scripts/items[0]/properties/matchesJSON Schema Diagram of /properties/content_scripts/items[0]

Value

Object

Properties

Property Name Type Description
matches array matches
exclude_matches array exclude_matches
css array css
js array scripts
run_at string run_at
all_frames boolean all_frames
include_globs array include_globs
exclude_globs array exclude_globs
match_about_blank boolean match_about_blank

Source

{
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "matches": {
            "type": "array",
            "description": "Specifies which pages this content script will be injected into.",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
                "$ref": "#/definitions/match_pattern"
            }
        },
        "exclude_matches": {
            "type": "array",
            "description": "Excludes pages that this content script would otherwise be injected into.",
            "uniqueItems": true,
            "items": {
                "$ref": "#/definitions/match_pattern"
            }
        },
        "css": {
            "type": "array",
            "description": "The list of CSS files to be injected into matching pages. These are injected in the order they appear in this array, before any DOM is constructed or displayed for the page.",
            "uniqueItems": true,
            "items": {
                "$ref": "#/definitions/uri"
            }
        },
        "js": {
            "$ref": "#/definitions/scripts",
            "description": "The list of JavaScript files to be injected into matching pages. These are injected in the order they appear in this array."
        },
        "run_at": {
            "type": "string",
            "description": "Controls when the files in js are injected.",
            "default": "document_idle",
            "enum": [
                "document_start",
                "document_end",
                "document_idle"
            ]
        },
        "all_frames": {
            "type": "boolean",
            "description": "Controls whether the content script runs in all frames of the matching page, or only the top frame.",
            "default": false
        },
        "include_globs": {
            "type": "array",
            "description": "Applied after matches to include only those URLs that also match this glob. Intended to emulate the @include Greasemonkey keyword.",
            "uniqueItems": true,
            "items": {
                "$ref": "#/definitions/glob_pattern"
            }
        },
        "exclude_globs": {
            "type": "array",
            "description": "Applied after matches to exclude URLs that match this glob. Intended to emulate the @exclude Greasemonkey keyword.",
            "uniqueItems": true,
            "items": {
                "$ref": "#/definitions/glob_pattern"
            }
        },
        "match_about_blank": {
            "type": "boolean",
            "description": "Whether to insert the content script on about:blank and about:srcdoc.",
            "default": false
        }
    },
    "required": [
        "matches"
    ]
}
http://json.schemastore.org/chrome-manifest (128:26)
Documentation for Chrome Manifest
Generated using Liquid Studio 2018 - JSON Studio Edition 16.0.0.7949