We will deprecate @include and @exclude and only support @match and @exclude-match in the future.
- Match pattern structure is safer and stricter, not too many accidents happen.
- It reduces code logic, and may helps improve matching efficiency.
- In the Web Extension API,
include_globs and exclude_globs
- Reduce confusion and difficult choices caused by different syntaxes.
We plan to add a deprecation hint in v5 and eventually remove it in v6.0.
We will deprecate
@includeand@excludeand only support@matchand@exclude-matchin the future.include_globsandexclude_globsglobsinstead of regular expressions.scripting.RegisteredContentScriptno longer supports these keys.We plan to add a deprecation hint in v5 and eventually remove it in v6.0.