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

Fixed reported websites - 9 #352

Merged
merged 12 commits into from
Nov 7, 2022
4 changes: 3 additions & 1 deletion src/data/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -13980,7 +13980,9 @@ body > allow-cookies,
._gdpr-banner,
#acceptCookiesBar,
#klaro div[class*="cooker-modal"],
#cookiesAlertWidget
#cookiesAlertWidget,
.consent-manager-overlay,
.consent-manager-overlay ~ .consent-manager

/* 14113 */ {
display: none !important;
Expand Down
8 changes: 3 additions & 5 deletions src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3944,11 +3944,7 @@ function getSelector(host) {
'div[data-testid="cookie-consent-modal"] button[data-testid*="settings"]',
'button[data-testid="cookie-consent-preferences-save"]'
);
case "vr.fi":
return _chain(
'div[data-testid="cookie-consent-modal"] button[data-testid="settings"]',
'button[data-testid="CookieConsentSettings__updateButton"]'
);

case "bonami.hu":
return _if(
'body > div > div > div > p > a[href*="cookie-szabalyzat"]',
Expand Down Expand Up @@ -7197,6 +7193,8 @@ function getSelector(host) {
);
case "dlive.tv":
return '#asfg > div';
case "vr.fi":
return 'button[data-testid="necessary"]';
}

if (host.parts.length > 2) {
Expand Down
4 changes: 4 additions & 0 deletions src/data/js/6_cookieHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ function getE(hostname) {
return [
"cookies_settings={%22analytics%22:false%2C%22marketing%22:false%2C%22necessary%22:true%2C%22statistical%22:false}",
];
case "svt.se":
return [
'cookie-consent-1={"optedIn":true,"functionality":false,"statistics":false}',
];
}

const parts = hostname.split(".");
Expand Down
23 changes: 18 additions & 5 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -11632,7 +11632,7 @@ const rules = {
"glashuette-original.com": {
s: "#js_dataNnoticeBtns{display:none !important}",
},
"svt.se": { s: ".svt-cookie-message{display:none !important}" },
"svt.se": { j: "6", s: ".svt-cookie-message{display:none !important}" },
"elblandkliniken.de": { s: "#Datenschutz{display:none !important}" },
"unitedutilities.com": { j: "5" },
"bagaggio.com.br": { s: ".lgpd{display:none !important}" },
Expand Down Expand Up @@ -12260,7 +12260,7 @@ const rules = {
s: '#__aer_root__ > div > [class*="styles_footer"] ~ div,p[class*="PrivacyPolicyBanner"],#ae-ru-privacy-banner{display:none !important}',
},
"aliexpress.com": {
s: '.ui-mask,.gdpr-dialog-class,#j-aliexpress-notice,#container-for-smart-banner ~ div:not([id]):not([class*=" "]):not([style]):nth-last-child(2),#voyager-gdpr,.site-notice-header{display:none !important}',
s: '#gdp-new-container,.ui-mask,.gdpr-dialog-class,#j-aliexpress-notice,#container-for-smart-banner ~ div:not([id]):not([class*=" "]):not([style]):nth-last-child(2),#voyager-gdpr,.site-notice-header{display:none !important}',
},
"aromes-et-liquides.fr": { s: "#rgpdcookie{display:none !important}" },
"boomin.com": {
Expand Down Expand Up @@ -13390,9 +13390,6 @@ const rules = {
"blockchain.com": { j: "5" },
"redhotpawn.com": { s: "#cookieConsentElId{display:none !important}" },
"tools.se": { j: "5" },
"gettr.com": {
s: ".app-content > div + div:last-child{display:none !important}",
},
"escavador.com": { s: ".c-popup-consentimento{display:none !important}" },
"vizjer.pl": { c: "2" },
"kaartje2go.nl": { j: "5" },
Expand Down Expand Up @@ -15484,6 +15481,17 @@ const rules = {
"kauppakeskuswilla.fi": { s: ".cdk-global-overlay-wrapper{display:none !important}" },
"hd.digital": { s: ".modal-backdrop{display:none !important} body{overflow: unset !important}" },
"parkside-interactive.com": { s: "#SirPauls-cookie{display:none !important}" },
"scienceinsport.com": {
s: 'aside[data-role="gdpr-cookie-container"]{display:none !important}',
},
"knowunity.fr": {
s: 'div[data-cy="cookie-banner"]{display:none !important}',
},
"batna24.com": { s: "#CookieSnackbar{display:none !important}" },
"kalahariresorts.com": { s: ".c-dialog-cookie{display:none !important}" },
"nationalgeographicla.com": {
s: ".cookie-footer__placeholder, .cookie-footer{display:none !important}",
},
};

const blockUrls = {
Expand Down Expand Up @@ -16588,6 +16596,7 @@ const blockUrls = {
"si.com",
"capital.fr",
"t3n.de",
"is.fi",
],
},
{ q: false, r: "yastatic.net/s3/gdpr", e: false },
Expand Down Expand Up @@ -16716,6 +16725,7 @@ const blockUrls = {
"maennersache.de",
"heise.de",
"t3n.de",
"is.fi",
],
},
{ q: false, r: "privacy-policy.u-lab.nl", e: false },
Expand All @@ -16739,6 +16749,7 @@ const blockUrls = {
{ q: false, r: "/dock-privacy-settings.esm.js", e: false },
],
cmp: [
{ q: false, r: "cmp.quantcast.com", e: false },
{ q: false, r: "cmp.nextday.media/cmp", e: ["vi.nl", "omroepwest.nl"] },
{ q: false, r: "cmp.dreamlab.pl", e: false },
{ q: false, r: "/media/cmp/int_cmp_banner", e: false },
Expand Down Expand Up @@ -17171,6 +17182,8 @@ const blockUrls = {
"gelderlander.nl",
"gld.nl",
"aftonbladet.se",
"sp-prod.net",
"is.fi",
],
},
{ q: false, r: "/app.dsgvo.min.js", e: false },
Expand Down
Loading