{
"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)