[mv3] Code review

This commit is contained in:
Raymond Hill 2025-04-25 08:06:19 -04:00
parent e029060889
commit e5efe64d20
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -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('.', '\\.')}/`
})),
});