Skip to content

Commit

Permalink
fixed support for mediaworld.it
Browse files Browse the repository at this point in the history
fixed support for saturn.de
  • Loading branch information
OhMyGuus committed Dec 23, 2023
1 parent c1727a5 commit e5959f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -7204,6 +7204,10 @@ function getSelector(host) {
return '#zdf-cmp-consent-sdk[style*="block"] #zdf-cmp-deny-btn';
case 'all3dp.com': return _if('.pur-root a[href*="cookie-policy"]', '.pur-root button:only-child');

case 'saturn.de':
case 'mediaworld.it': // same as mediamarkt
return '#mms-consent-portal-container button[data-test*="save-settings"]';

}

if (host.parts.length > 2) {
Expand Down
17 changes: 7 additions & 10 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2120,11 +2120,13 @@ const rules = {
"toffeeweb.com": { s: "#fixedFooter{display:none !important}" },
"bgfermer.bg": { c: 130 },
"watchfinder.co.uk": { s: "#cookie_{display:none !important}" },
"mediamarkt.nl": { j: "5" },
"mediamarkt.de": { j: "5" },
"mediamarkt.it": { j: "5" },
"mediamarkt.at": { j: "5" },
"mediamarkt.be": { j: "5" },
"mediamarkt.nl": { j: 5 },
"mediamarkt.de": { j: 5 },
"mediamarkt.it": { j: 5 },
"mediamarkt.at": { j: 5 },
"mediamarkt.be": { j: 5 },
"mediaworld.it": { j: 5 },
"saturn.de": { j: 5},
"gonnesa.ca.it": { s: "#fake-div{display:none !important}" },
"motorsport.com": {
s: ".ms-footer-fixbox,.ms-header-messages,#privacy_accept{display:none !important}",
Expand Down Expand Up @@ -16878,11 +16880,6 @@ const rules = {
"kbs-frb.be": { s: ".block-extendedcookiebanner{display:none !important}" },
"tickets.ua": { s: ".app-cookies{display:none !important}" },
"royalqueenseeds.cat": { s: ".cookie-popup__wrapper{display:none !important}" },
"royalqueenseeds.cat": { s: ".cookie-popup__wrapper{display:none !important}" },
"royalqueenseeds.cat": { s: ".cookie-popup__wrapper{display:none !important}" },
"royalqueenseeds.cat": { s: ".cookie-popup__wrapper{display:none !important}" },
"royalqueenseeds.cat": { s: ".cookie-popup__wrapper{display:none !important}" },

};

const blockUrls = {
Expand Down

0 comments on commit e5959f0

Please sign in to comment.