mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Code review
This commit is contained in:
parent
e029060889
commit
e5efe64d20
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ export async function syncToolbarIcon(wakeup) {
|
|||
|
||||
webNavigation.onCommitted.addListener(toolbarIconListener, {
|
||||
url: Array.from(toToggle).map(a => ({
|
||||
originAndPathMatches: `^https?://([^.]+\\.)*${a}/`
|
||||
originAndPathMatches: `^https?://([^.].*\\.)?${a.replaceAll('.', '\\.')}/`
|
||||
})),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue