-
-
Notifications
You must be signed in to change notification settings - Fork 538
Custom URL patterns
yayuyokitano edited this page Sep 21, 2023
·
7 revisions
The extension allows to define custom URL patterns for connectors. For example, this feature can be useful for Bandcamp custom domains, that are not defined in the extension by default.
- Open the extension settings and expand
Options
section. - Find the connector you want to add custom URL pattern to.
- Click the connector label to expand the connector settings.
- Click "Add pattern" and enter the custom URL pattern.
The format of patterns is similar to match patterns that is used in Chrome. You can read here about match patterns.
The URL pattern is just a string that represents the URL of service. The pattern
can contain *
character that means any string.
For example, http://example.com/
does match http://example.com/
, but does
not match https://example.com/
. To make the pattern match both URLs, let's use
*
character: *://example.com/
. Now the updated pattern match the second URL
as well, as the first one.