AboutSupportDeveloper GuideVersion 46.153.100.69

Rule permitting a Chromium extension to inject content scripts into non-tab web content whose URL matches the given patterns.

Match patterns use the same Chromium match pattern syntax as DomainSettingsRule. Omitting matchOptions uses the same default scheme-matching behavior as domain settings.

interface NonTabInjectionRule {
    match: string[];
    matchOptions?: RuleMatchOptions;
}

Properties

Properties

match: string[]

Array of match patterns specifying the content locations where the extension may inject outside browser tabs. An empty array grants no permission. A wildcard grants blanket coverage of all content locations.

matchOptions?: RuleMatchOptions

Options to use when comparing URIs to the match patterns. Behaves as DomainSettingsRule.matchOptions / RuleMatchOptions.