Skip to content

Commit

Permalink
fixed support for zdf.de
Browse files Browse the repository at this point in the history
fixed support for 3sat.de
fixed support for heise.de
  • Loading branch information
OhMyGuus committed Dec 18, 2023
1 parent bd86780 commit 0d1ce6f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 7 additions & 1 deletion src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ function getSelector(host) {
case "sky.com":
case "welt.de":
case "zeit.de":
case 'heise.de':
return ".sp_choice_type_11";

case "helpster.de":
Expand Down Expand Up @@ -7184,7 +7185,12 @@ function getSelector(host) {
case "kicker.ch":
case "kicker.de":
return '.fancybox-container[style*="block"] a[onclick*="acceptAllConsents"]';
}
case 'zdf.de':
case '3sat.de':
return '#zdf-cmp-consent-sdk[style*="block"] #zdf-cmp-deny-btn';


}

if (host.parts.length > 2) {
host.parts.shift();
Expand Down
10 changes: 4 additions & 6 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16007,9 +16007,6 @@ const rules = {
"ancientegyptmagazine.com": { s: ".pcb{display:none !important}" },
"andreashop.sk": { s: "#eu-cookies-popup{display:none !important}" },
"thesourcemodels.com": { s: "#cookie-bottom{display:none !important}" },
"heise.de": {
s: 'div[id^="sp_message_container_"]{display:none !important}',
},
"video.gazzetta.it": { j: "5" },
"sreality.cz": {
s: ".szn-cmp-dialog-container{display:none !important}",
Expand Down Expand Up @@ -16833,7 +16830,7 @@ const rules = {
"termshub.io": { s: "#TermsHubCookieConsent{display:none !important}" },
"app.outwrite.com": {
s: ".e1nzdohi4.css-1kyupjy-cookie-popup-Wrapper{display:none !important}",
}, //will be changed later
},
"logowanie.nn.pl": {
s: ".Portal_module_portalDefault__af0b797a{display:none !important}",
},
Expand Down Expand Up @@ -16866,6 +16863,9 @@ const rules = {
"netzwelt.de": { j: 5 },
"kicker.de": { j: 5 },
"kicker.ch": { j: 5 },
"zdf.de": { j: 5 },
"3sat.de": { j: 5 },
"heise.de": { j: 5 },
};

const blockUrls = {
Expand Down Expand Up @@ -18012,7 +18012,6 @@ const blockUrls = {
"stern.de",
"freenet-funk.de",
"maennersache.de",
"heise.de",
"t3n.de",
"is.fi",
],
Expand Down Expand Up @@ -18436,7 +18435,6 @@ const blockUrls = {
"zeit.de",
"ad.nl",
"dpgmedia.be",
"heise.de",
"t3n.de",
"gelderlander.nl",
"gld.nl",
Expand Down
2 changes: 0 additions & 2 deletions src/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -12553,7 +12553,6 @@
"stern.de",
"freenet-funk.de",
"maennersache.de",
"heise.de",
"t3n.de",
"is.fi"
]
Expand Down Expand Up @@ -16645,7 +16644,6 @@
"zeit.de",
"ad.nl",
"dpgmedia.be",
"heise.de",
"t3n.de",
"gelderlander.nl",
"gld.nl",
Expand Down

0 comments on commit 0d1ce6f

Please sign in to comment.