Skip to content

Commit e5efe64

Browse files
committed
[mv3] Code review
1 parent e029060 commit e5efe64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mv3/extension/js/action.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export async function syncToolbarIcon(wakeup) {
103103

104104
webNavigation.onCommitted.addListener(toolbarIconListener, {
105105
url: Array.from(toToggle).map(a => ({
106-
originAndPathMatches: `^https?://([^.]+\\.)*${a}/`
106+
originAndPathMatches: `^https?://([^.].*\\.)?${a.replaceAll('.', '\\.')}/`
107107
})),
108108
});
109109

0 commit comments

Comments
 (0)