Proposal: Exclude Matching #756
Labels
needs-triage: chrome
Chrome needs to assess this issue for the first time
needs-triage: firefox
Firefox needs to assess this issue for the first time
needs-triage: safari
Safari needs to assess this issue for the first time
Proposal: Exclude Matching
Background
While some APIs such as Content scripts or scripting support
excludeMatches
, there are others that don't have such option.menus/contextMenus is a commonly used example where
documentUrlPatterns
is insufficient for this purpose.Other examples include: webRequest.RequestFilter
urls
Proposal
Provide a method to exclude match in APIs the don't have them
Suggestions
A few possibilities:
As once suggested in Exclude in Match patterns, a negative match pattern that would simply translate to
excludeMatches
e.g.
["*://*.example.org/*", "!*://*.example.org/support/*"]
scripting
) to APIs that don't have itThe text was updated successfully, but these errors were encountered: