Merge pull request #768 from wanhose/v7.1.3

7.1.3
This commit is contained in:
wanhose 2024-08-10 13:42:45 +02:00 committed by GitHub
commit d33fa20122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Cookie Dialog Monster",
"version": "7.1.2",
"version": "7.1.3",
"default_locale": "en",
"description": "__MSG_appDesc__",
"icons": {
@ -36,6 +36,7 @@
"*://*.messenger.com/*",
"*://*.office365.com/*",
"*://*.officeapps.live.com/*",
"*://*.olympics.com/*",
"*://*.sharepoint.com/*",
"*://*.suite.office.com/*",
"*://*.youtube-nocookie.com/embed/*",

View File

@ -474,10 +474,8 @@ browser.runtime.onMessage.addListener(async (message) => {
break;
}
case 'RUN': {
if (removables.length) {
await setUp({ skipRunFn: true });
run({ elements: removables, skipMatch: true });
}
await setUp({ skipRunFn: true });
run(removables.length ? { elements: removables, skipMatch: true } : {});
break;
}
}