The rejectList and allowList contains the list of source-target rules. The main purpose of these lists
is to provide an automated action on whether opening a new tab is allowed or not. Any matching
rejectList rule will reject the new tab to open without prompting the user. Any matching allowList rule
will allow the new tab to open without prompting the user.
rejectList has higher priority than allowList. Each source-target rule is an array of two values:
SourceURL then TargetURL. SourceURL denotes the current tab's URL, while TargetURL denotes the
new tab's URL.
Both source and target URL values can be either a string type or a regular expression object. Each will
be compared against the whole URL.
If string type is used, it must match the whole URL instead of part of it. The comparison is done
without case sensitivity (i.e. character case is ignored). A *
wildcard can be used to match any one
or more characters. e.g.:
If regular expression object is used, it may match only part of the whole URL, depending on the regular
expression pattern itself. The comparison is done with or without case sensitivity, depending on the
regular expression flags.
A source-target rule will match if the source and target URLs matches.