Merge pull request #8268 from greenfoo/update_match_patterns_link

Update link to chrome match patterns documentation
This commit is contained in:
toofar 2024-07-27 11:13:16 +12:00
commit 152571c9cd
4 changed files with 6 additions and 5 deletions

View File

@ -31,7 +31,7 @@ patterns. The link:settings{outfilesuffix}[settings documentation] marks such
settings with "This setting supports URL patterns.
The syntax is based on Chromium's
https://developer.chrome.com/docs/extensions/mv3/match_patterns/[URL pattern syntax].
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns/[URL pattern syntax].
As an extension, the scheme and path can be left off as a short-hand syntax, so
`example.com` is equivalent to `*://example.com/*`.

View File

@ -4882,6 +4882,6 @@ See the setting's valid values for more information on allowed values.
|Url|A URL as a string.
|UrlPattern|A match pattern for a URL.
See https://developer.chrome.com/apps/match_patterns for the allowed syntax.
See https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns for the allowed syntax.
|VerticalPosition|The position of the download bar.
|==============

View File

@ -1984,8 +1984,9 @@ class UrlPattern(BaseType):
"""A match pattern for a URL.
See https://developer.chrome.com/apps/match_patterns for the allowed
syntax.
See
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns
for the allowed syntax.
"""
def to_py(

View File

@ -5,7 +5,7 @@
"""A Chromium-like URL matching pattern.
See:
https://developer.chrome.com/apps/match_patterns
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns
https://cs.chromium.org/chromium/src/extensions/common/url_pattern.cc
https://cs.chromium.org/chromium/src/extensions/common/url_pattern.h