interface _UpdateContentScriptsScripts {
    allFrames?: boolean;
    css?: string[];
    excludeMatches?: string[];
    id: string;
    js?: string[];
    matches?: string[];
    persistAcrossSessions?: boolean;
    runAt?: RunAt;
}
Index
allFrames?: boolean

If specified true, it will inject into all frames, even if the frame is not the top-most frame in the tab. Each frame is checked independently for URL requirements; it will not inject into child frames if the URL requirements are not met. Defaults to false, meaning that only the top frame is matched.

css?: string[]

The list of CSS files to be injected into matching pages. These are injected in the order they appear in this array.

excludeMatches?: string[]

Excludes pages that this content script would otherwise be injected into.

id: string

The id of the content script, specified in the API call.

js?: string[]

The list of JavaScript files to be injected into matching pages. These are injected in the order they appear in this array.

matches?: string[]

Specifies which pages this content script will be injected into. Must be specified for registerContentScripts().

persistAcrossSessions?: boolean

Specifies if this content script will persist into future sessions.

runAt?: RunAt

Specifies when JavaScript files are injected into the web page. The preferred and default value is document_idle.