Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for reported websites #7 #243

Merged
merged 8 commits into from
Oct 28, 2022
Merged
15 changes: 15 additions & 0 deletions src/data/js/6_cookieHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,21 @@ function getE(h) {
return ["cookieConsent=cookie_deny"];
case "dndbeyond.com":
return ["cookie-consent=denied"];
case "education.lego.com":
return [
'LEGO_COOKIE_SETTINGS={"preferences":[{"label":"analytics","value":false},{"label":"legomarketing","value":false},{"label":"thirdparty","value":false}],"reconsentDate":""}',
];
case "beurer.se":
return [
'cookie-consent={"necessary":true,"analytical":false,"marketing":false,"functional":false}',
];
case "uni-mozarteum.at":
return [
"cookieconsent[googlecse]=2",
"cookieconsent[livestream]=1",
"cookieconsent[vimeo]=1",
"cookieconsent[youtube]=1",
];
}

const parts = h.split(".");
Expand Down
22 changes: 19 additions & 3 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1823,9 +1823,6 @@ const rules = {
},
"nordpasdecalais.fr": { s: "#bandeauCnil{display:none !important}" },
"bubblebed.bg": { s: ".gs-cookies-review{display:none !important}" },
"moebelix.at": {
s: ".xxxlutzkarrierecenter-themeBoxCookieInfo{display:none !important}",
},
"hijob.me": { s: ".flash-cookie{display:none !important}" },
"iabfrance.com": { s: "#boxAlert{display:none !important}" },
"thejukeboxman.com": { s: ".promo-banner{display:none !important}" },
Expand Down Expand Up @@ -15258,6 +15255,18 @@ const rules = {
"moemax.de": {
s: "#root > footer ~ div{display:none !important}",
},
"moebelix.at": {
s: "#root > footer ~ div{display:none !important}",
},
"moebelix.cz": {
s: "#root > footer ~ div{display:none !important}",
},
"moebelix.sk": {
s: "#root > footer ~ div{display:none !important}",
},
"moebelix.de": {
s: "#root > footer ~ div{display:none !important}",
},
"amara.org": {
s: ".cookie-consent-cover{display:none !important} body{overflow: unset!important}",
},
Expand Down Expand Up @@ -15318,6 +15327,13 @@ const rules = {
"jw.org": { s: ".lnc-firstRunPopup{display:none !important}" },
"dndbeyond.com": { j: "6" },
"commanderspellbook.com": { s: ".border-b-2{display:none !important}" },
"education.lego.com": { j: "6" },
"bonobology.com": { s: ".dialog-widget-content{display:none !important}" },
"bodypak.pl": { s: ".pop-cookiebox{display:none !important}" },
"beurer.se": { j: "6" },
"arsys.es": { s: 'div[name="cookies"]{display:none !important}' },
"swb-busundbahn.de": { c: "99" },
"uni-mozarteum.at": { j: "6" },
};

const blockUrls = {
Expand Down