From e5efe64d20070f14bbf756d4deaa8f6c9eb16668 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 25 Apr 2025 08:06:19 -0400 Subject: [PATCH] [mv3] Code review --- platform/mv3/extension/js/action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('.', '\\.')}/` })), });