commit
66062ae898
@ -296,7 +296,7 @@
|
||||
},
|
||||
{
|
||||
"action": "click",
|
||||
"domain": "consent.google.com",
|
||||
"domain": "consent.google",
|
||||
"selector": "[aria-label=\"Alle ablehnen\"], [aria-label=\"Odrzuć wszystko\"], [aria-label=\"Rechazar todo\"], [aria-label=\"Recusar tudo\"], [aria-label=\"Reject all\"], [aria-label=\"Rejeitar tudo\"], [aria-label=\"Respinge tot\"], [aria-label=\"Rifiuta tutto\"], [aria-label=\"Tout refuser\"], [aria-label=\"Отклонить все\"]"
|
||||
},
|
||||
{
|
||||
@ -306,7 +306,7 @@
|
||||
},
|
||||
{
|
||||
"action": "click",
|
||||
"domain": "consent.youtube.com",
|
||||
"domain": "consent.youtube",
|
||||
"selector": "[aria-label=\"Alle ablehnen\"], [aria-label=\"Odrzuć wszystko\"], [aria-label=\"Rechazar todo\"], [aria-label=\"Recusar tudo\"], [aria-label=\"Reject all\"], [aria-label=\"Rejeitar tudo\"], [aria-label=\"Respinge tot\"], [aria-label=\"Rifiuta tutto\"], [aria-label=\"Tout refuser\"], [aria-label=\"Отклонить все\"]"
|
||||
},
|
||||
{
|
||||
@ -481,6 +481,7 @@
|
||||
"||chollometro.com/assets/js/CookiesMessage*.js^",
|
||||
"||cmp.inmobi.com^",
|
||||
"||consent.cookiebot.com^",
|
||||
"||consent.cookiefirst.com^",
|
||||
"||consent.trustarc.com^",
|
||||
"||consentcdn.cookiebot.com^",
|
||||
"||cookiehub.net^",
|
||||
@ -525,15 +526,19 @@
|
||||
"ircan.org",
|
||||
"jobs.lever.co",
|
||||
"key-shortcut.com",
|
||||
"live.com",
|
||||
"login.microsoftonline.com",
|
||||
"mantisbt.org",
|
||||
"mein.stadtmobil.de",
|
||||
"mossgreen.github.io",
|
||||
"musicmeter.nl",
|
||||
"office.com",
|
||||
"office365.com",
|
||||
"personio.com",
|
||||
"restaurantguru.com",
|
||||
"retroachievements.org",
|
||||
"seeklogo.com",
|
||||
"sharepoint.com",
|
||||
"shuttledirect.com",
|
||||
"sis.redsys.es",
|
||||
"socialdeal.be",
|
||||
@ -5303,6 +5308,7 @@
|
||||
".modal-ley-cookies",
|
||||
".modal-mask-class",
|
||||
".modal-strip[data-cookie]",
|
||||
".modal[aria-live=\"assertive\"]:has(.cookie-button)",
|
||||
".modalcooky",
|
||||
".modCookieBar",
|
||||
".modCookiesConsent",
|
||||
@ -6804,6 +6810,7 @@
|
||||
"[class$=\"BandeauCookies\"]",
|
||||
"[class$=\"UpdatePanelCookie\"]",
|
||||
"[cnn-cookie-policy]",
|
||||
"[consent-skip-blocker][data-bg] > dialog",
|
||||
"[consent-skip-blocker][data-bg]",
|
||||
"[cookie-unique-name]",
|
||||
"[css-main-site] #policy-div",
|
||||
@ -13865,5 +13872,5 @@
|
||||
"ytm-consent-bump-v2-renderer"
|
||||
]
|
||||
},
|
||||
"version": "1725700173038"
|
||||
"version": "1725777170641"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
- All browsers based on Chromium 88+ (Blisk, Brave, Colibri, Epic Browser, Iron Browser, Vivaldi and many more)
|
||||
- Google Chrome 109+
|
||||
- Microsoft Edge 109+
|
||||
- Mozilla Firefox 109+
|
||||
- Mozilla Firefox 113+
|
||||
- Mozilla Firefox Mobile 126+
|
||||
|
||||
## Installation (for Mozilla Firefox users)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Cookie Dialog Monster",
|
||||
"version": "7.2.3",
|
||||
"version": "7.2.4",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_appDesc__",
|
||||
"icons": {
|
||||
@ -22,7 +22,7 @@
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "{77e2c00b-e173-4604-863d-01645d8d2826}",
|
||||
"strict_min_version": "109.0",
|
||||
"strict_min_version": "113.0",
|
||||
"update_url": "https://www.cookie-dialog-monster.com/mozilla/updates.json"
|
||||
}
|
||||
},
|
||||
@ -34,12 +34,7 @@
|
||||
"*://*.codesandbox.io/*",
|
||||
"*://*.facebook.com/*",
|
||||
"*://*.googleapis.com/embed/*",
|
||||
"*://*.messenger.com/*",
|
||||
"*://*.office365.com/*",
|
||||
"*://*.officeapps.live.com/*",
|
||||
"*://*.olympics.com/*",
|
||||
"*://*.sharepoint.com/*",
|
||||
"*://*.suite.office.com/*",
|
||||
"*://*.youtube-nocookie.com/embed/*",
|
||||
"*://*.youtube.com/embed/*",
|
||||
"*://translate.google.ca/*",
|
||||
|
@ -65,13 +65,13 @@ const refreshData = (callback) => {
|
||||
const report = async (message, tab, callback) => {
|
||||
try {
|
||||
const reason = message.reason;
|
||||
const url = message.url;
|
||||
const userAgent = message.userAgent;
|
||||
const version = browser.runtime.getManifest().version;
|
||||
const body = JSON.stringify({ reason, url: tab.url, userAgent, version });
|
||||
const body = JSON.stringify({ reason, url, userAgent, version });
|
||||
const headers = { 'Cache-Control': 'no-cache', 'Content-type': 'application/json' };
|
||||
const url = `${apiUrl}/report/`;
|
||||
|
||||
const response = await fetch(url, { body, headers, method: 'POST' });
|
||||
const response = await fetch(`${apiUrl}/report/`, { body, headers, method: 'POST' });
|
||||
callback?.((await response.json()).data);
|
||||
} catch {
|
||||
console.error("Can't send report");
|
||||
|
@ -125,8 +125,12 @@ function clean(elements, skipMatch) {
|
||||
if (match(element, skipMatch)) {
|
||||
const observer = new MutationObserver(forceElementStyles);
|
||||
|
||||
element.setAttribute(dataAttributeName, 'true');
|
||||
element.style.setProperty('display', 'none', 'important');
|
||||
if (element instanceof HTMLDialogElement) {
|
||||
element.close();
|
||||
} else {
|
||||
element.setAttribute(dataAttributeName, 'true');
|
||||
element.style.setProperty('display', 'none', 'important');
|
||||
}
|
||||
|
||||
observer.observe(element, {
|
||||
attributes: true,
|
||||
@ -185,8 +189,6 @@ function forceElementStyles(mutations, observer) {
|
||||
|
||||
if (value === null) {
|
||||
observer.disconnect();
|
||||
element.removeAttribute(dataAttributeName);
|
||||
element.style.removeProperty('display');
|
||||
} else {
|
||||
element.style.setProperty('display', 'none', 'important');
|
||||
}
|
||||
@ -404,10 +406,13 @@ function restoreDOM() {
|
||||
}
|
||||
}
|
||||
|
||||
const elements = getElements(`[${dataAttributeName}]`);
|
||||
|
||||
for (const element of elements) {
|
||||
for (const element of removables) {
|
||||
element.removeAttribute(dataAttributeName);
|
||||
element.style.removeProperty('display');
|
||||
|
||||
if (element instanceof HTMLDialogElement) {
|
||||
element.showModal();
|
||||
}
|
||||
}
|
||||
|
||||
for (const element of [document.body, document.documentElement]) {
|
||||
@ -500,7 +505,7 @@ browser.runtime.onMessage.addListener(async (message) => {
|
||||
break;
|
||||
}
|
||||
case 'RUN': {
|
||||
await setUp({ skipRunFn: true });
|
||||
await setUp({ skipRunFn: !!removables.length });
|
||||
run({ elements: removables, skipMatch: true });
|
||||
break;
|
||||
}
|
||||
|
@ -247,7 +247,6 @@ async function submitButtonClickHandler(event) {
|
||||
const issueButton = dialog?.getElementsByClassName('report-dialog-issue-button')[0];
|
||||
const submitView = dialog?.getElementsByClassName('report-dialog-submit-view')[0];
|
||||
const userAgent = window.navigator.userAgent;
|
||||
|
||||
const issueUrl = await dispatch({ userAgent, reason: reasonText, url: urlText, type: 'REPORT' });
|
||||
|
||||
formView?.setAttribute('hidden', 'true');
|
||||
|
@ -5,6 +5,14 @@
|
||||
{
|
||||
"version": "7.2.2",
|
||||
"update_link": "https://www.cookie-dialog-monster.com/releases/7.2.2-mozilla-mobile.xpi"
|
||||
},
|
||||
{
|
||||
"version": "7.2.3",
|
||||
"update_link": "https://www.cookie-dialog-monster.com/releases/7.2.3-mozilla-mobile.xpi"
|
||||
},
|
||||
{
|
||||
"version": "7.2.4",
|
||||
"update_link": "https://www.cookie-dialog-monster.com/releases/7.2.4-mozilla-mobile.xpi"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -41,6 +41,10 @@
|
||||
{
|
||||
"version": "7.2.3",
|
||||
"update_link": "https://www.cookie-dialog-monster.com/releases/7.2.3.xpi"
|
||||
},
|
||||
{
|
||||
"version": "7.2.4",
|
||||
"update_link": "https://www.cookie-dialog-monster.com/releases/7.2.4.xpi"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
BIN
packages/web/src/releases/7.2.4-mozilla-mobile.xpi
Normal file
BIN
packages/web/src/releases/7.2.4-mozilla-mobile.xpi
Normal file
Binary file not shown.
BIN
packages/web/src/releases/7.2.4.xpi
Normal file
BIN
packages/web/src/releases/7.2.4.xpi
Normal file
Binary file not shown.
BIN
packages/web/src/releases/7.2.4.zip
Normal file
BIN
packages/web/src/releases/7.2.4.zip
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user