diff --git a/platform/mv3/extension/js/action.js b/platform/mv3/extension/js/action.js index 3772e5cbf..a76210cef 100644 --- a/platform/mv3/extension/js/action.js +++ b/platform/mv3/extension/js/action.js @@ -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('.', '\\.')}/` })), });