Skip to content

Commit

Permalink
Support for reported websites #7 (#243)
Browse files Browse the repository at this point in the history
* Added support for education.lego.com fixes #224

* Added support for bonobology.com fixes #241

* Added support for bodypak.pl fixes #242

* Added support for moebelix.at/sk/cz/de fixes #245

* Added support for beurer.se fixes #249

* Added support for arsys.es fixes #250

* Added support for swb-busundbahn.de fixes #251

* Added support for uni-mozarteum.at fixes #247
  • Loading branch information
OhMyGuus authored Oct 28, 2022
1 parent eebb11c commit 1e9854f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
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

0 comments on commit 1e9854f

Please sign in to comment.