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 sites #20 #10586

Merged
merged 21 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/data/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ body.cli-barmodal-open {
overflow: visible !important;
}

iframe[title^="SP Consent Message"] {
display: none !important;
}

html.sp-message-open,
html.sp-message-open body,
html.disable--interaction.show--consent,
Expand Down
36 changes: 31 additions & 5 deletions src/data/js/0_defaultClickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
const searchPairs = {
".wp-exclude-emoji": [
'div[id^="bnnr"] > div[style*="; order: 1"] span',
'div[id^="bnnr"]:not([style*="float"]) > div[style*="; order: 0"] + div[style*="; order: 2"] span',
'div[id^="bnnr"]:not([style*="float"]) > div[style*="; order: 0"] + div[style*="; order: 3"] span',
'div[id^="bnnr"][style*="float"] > div[style*="; order: 0"] + div[style*="; order: 2"][style*="underline"] span',
'div[id^="bnnr"][style*="float"] > div[style*="; order: 0"] + div[style*="; order: 2"]:not([style*="underline"])',
"a[data-order]:nth-child(2) span",
],

"#usercentrics-root": [
Expand All @@ -30,13 +27,16 @@
"button.sp_choice_type_12:not(.cmp-no-pur-privacy-btn)",
".sp_choice_type_SAVE_AND_EXIT",
"div:not(.header) > .sp_choice_type_11:only-of-type:not(:only-child)",
"#notice > div:nth-child(3) .message-column:first-child:not(:only-child) .sp_choice_type_11",
".sp_choice_type_11.button-responsive-primary",
".sp_choice_type_13",
],

".mfp-wrap.mfp-ready": [
".cookieselection-confirm-selection",
"#gdpr_understandBtn",
"#cookiebanner .button-row > :not(.consentToAll)",
"#cookiebanner .confirmSelection",
'div[id*="cookiebanner"] .confirmSelection',
'#cookieConsent .btn[data-cookie="accepted"]',
".avia-cookie-close-bar",
".cookies-save-and-close-btn",
Expand All @@ -60,8 +60,18 @@

"#__tealiumGDPRecModal": [
"#privacy_pref_optin",
"#consent_prompt_preferences",
"#consent_prompt_submit",
".container-cookie-modal-footer-refuse",
".cl-btn--reject-all",
],

"#__tealiumGDPRcpPrefs": [
'#privacy_prompt[style*="block"] #preferences_prompt_decline',
'.consent-manager[style*="block"] #cm-acceptNone',
'.consent-manager[style*="block"] #consent_wall_optout',
'.tiq_cm[style*="block"] #deny_full_submit_1',
"#preferences_prompt_submit",
],

".fancybox-lock": [
Expand Down Expand Up @@ -98,6 +108,8 @@
],

".modal-open": [
'#dialog[style*="block"] #btn-configure-cookies',
'#dialog[style*="block"] #user_cookies_form_save + #refuse-all-cookies',
'#PrivacyCategoryAlert[style*="block"] .btn[data-id="ConfirmSettings"]',
'#cookie-control-modal[style*="block"] .js-toggle-cookie-control',
'.kmt-ckextmodal[style*="block"] .btn[href*="accept"]',
Expand All @@ -109,6 +121,8 @@
'#cookie-manager-window[style*="block"] #accept-selected',
".ck-user-cookie-consent-modal #js-save-cookie-settings",
'#cookie-consent-modal[style*="block"] ~ .modal #cc-save-preferences',
'#privacy-consent[style*="block"] #current-settings-save',
'#modal-privacy-settings[style*="block"] .btn[data-grant="selected"]',
],

'.modal[style*="block"]': [
Expand Down Expand Up @@ -174,6 +188,18 @@
"#btnCookieNecessary",
".btn.cookies-decline",
"#cookieConsentConfigBtnDecline",
"#continueWithoutAccepting",
"#cookieSavingButton",
"#gdpr-save-settings.btn",
".js-consent-btn-manage + .js-consent-btn-decline",
"#cookiebar-decline",
'button[data-omcookie-panel-save="min"]',
"#cookieModuleRejectAll",
".refuseAllCookies",
"#cookieDenyButton",
'button[data-save-action="decline-all"]',
"#bccs-buttonDoNotAgree",
"#bccs-buttonAgreeRequired:first-child",
],
};

Expand Down
5 changes: 4 additions & 1 deletion src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function getSelector(host) {
return '.gdpr-modal-wrapper._show .allow-necessary, #cookies-modal-id[style*="block"] .save-cookies';
case "douglas":
return _chain(
".uc-banner-modal .uc-list__buttons ",
".uc-banner-modal .uc-list-button__more-information",
".uc-list-button__deny-all"
);
case "easyname":
Expand Down Expand Up @@ -530,6 +530,7 @@ function getSelector(host) {
case "sourcepoint.theguardian.com":
return "button.sp_choice_type_13, button.sp_choice_type_12, .sp_choice_type_SAVE_AND_EXIT";
case "cmp.dpgmedia.nl":
case "cmp.autoweek.nl":
return _chain(
'.sp_choice_type_12, .tcfv2-stack[title*="Social"] .pm-switch',
".sp_choice_type_SAVE_AND_EXIT"
Expand Down Expand Up @@ -7202,6 +7203,8 @@ function getSelector(host) {
case "saturn.de":
case "mediaworld.it": // same as mediamarkt
return '#mms-consent-portal-container button[data-test*="save-settings"]';
case "cameraworld.co.uk":
return "#btn-cookie-decline";
}

if (host.parts.length > 2) {
Expand Down
2 changes: 0 additions & 2 deletions src/data/js/6_cookieHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ function getE(hostname) {
return ["fvw_privacy=enabled"];
case "kinoheld.de":
return ["KHCONSENT=accept"];
case "calm.com":
return ["has-agreed-to-cookies=true"];
case "resursbank.se":
return ["cookie_consent=necessary%3A1%2Cstatistics%3A0%2Cmarketing%3A0"];
case "airmates.eu":
Expand Down
165 changes: 42 additions & 123 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2127,6 +2127,7 @@ const rules = {
"mediamarkt.at": { j: 5 },
"mediamarkt.be": { j: 5 },
"mediaworld.it": { j: 5 },
"mediamarkt.es": { j: 5 },
"saturn.de": { j: 5 },
"gonnesa.ca.it": { s: "#fake-div{display:none !important}" },
"motorsport.com": {
Expand Down Expand Up @@ -10423,7 +10424,7 @@ const rules = {
"automobilwoche.de": { s: "#ccm{display:none !important}" },
"5vor12.de": { s: ".consent_banner{display:none !important}" },
"jimenezmovilidad.es": { c: 0 },
"calm.com": { j: "6" },
"calm.com": { s: "#cookie-preferences-banner{display:none !important}" },
"otv.de": { j: "5" },
"nordicbet.dk": { c: 32 },
"nordicbet.com": { c: 32 },
Expand Down Expand Up @@ -14085,6 +14086,7 @@ const rules = {
"photospecialist.at": { c: 20 },
"photospecialist.de": { c: 20 },
"kamera-express.nl": { c: 20 },
"kamera-express.be": { c: 20 },
"kamera-express.lu": { c: 20 },
"kamera-express.de": { c: 20 },
"helpster.de": { j: "5" },
Expand Down Expand Up @@ -16978,6 +16980,25 @@ const rules = {
"swedbankrobur.se": { c: 85 },
"tobycarvery.co.uk": { c: 85 },
"toshiba-aircondition.com": { c: 85 },
"autoweek.nl": { j: 5 },
"tunemymusic.com": {
s: ".HeaderMenu_CookieAlert__ipEfK{display:none !important}",
},
"webopedia.com": { s: ".wo-consent{display:none !important}" },
"drudgereport.com": { s: "#dr_dae_consent{display:none !important}" },
"parksystems.com": {
s: ".seers-cmp-cookie-data-hol{display:none !important}",
},
"lightexpert.nl": { s: "#cookie{display:none !important}" },
"biggreenegg.co.uk": {
s: ".TheBiscuitBanner{display:none !important}",
c: 85,
},
"cameraworld.co.uk": {
j: 5,
s: "._has-modal{overflow: unset!important} .pr-cookie-modal-wall, .modals-overlay{display:none !important}",
},
"favoptic.se": { c: 14 },
};

const blockUrls = {
Expand Down Expand Up @@ -18081,59 +18102,6 @@ const blockUrls = {
],
},
{ r: "/contao-privacy-center.js" },
{
r: "privacy-mgmt.com",
e: [
"standard.co.uk",
"theguardian.com",
"theguardian.com.",
"bild.de",
"computerbild.de",
"bold.dk",
"welt.de",
"t-online.de",
"focus.de",
"chip.de",
"faz.net",
"n-tv.de",
"spiegel.de",
"privacy-mgmt.com",
"wunderweib.de",
"helpster.de",
"tvmovie.de",
"praxisvita.de",
"cosmopolitan.de",
"giga.de",
"ostsee-zeitung.de",
"sky.com",
"lvz.de",
"mein-schoener-garten.de",
"boerse-online.de",
"tvspielfilm.de",
"autobild.de",
"bike-bild.de",
"bz-berlin.de",
"cyberport.at",
"cyberport.de",
"golem.de",
"express.de",
"tv8.it",
"epaper.volksstimme.de",
"volkskrant.nl",
"rtl2.de",
"si.com",
"derstandard.de",
"derstandard.at",
"unsere-helden.com",
"rtl.de",
"stern.de",
"freenet-funk.de",
"maennersache.de",
"t3n.de",
"is.fi",
"heise.de",
],
},
{ r: "privacy-policy.u-lab.nl" },
{
r: "trustcommander.net/privacy",
Expand Down Expand Up @@ -18203,6 +18171,7 @@ const blockUrls = {
{ r: "apps.ludostation.com/cmp/v2/cmp.js" },
{ r: "mrdev-cmp/assets/js/script.js" },
{ r: "cmp.setupcmp.com" },
{ r: "cmp.meteored.com" },
],
Cookie: [
{ r: "gofundme.com/js/3.0/visitorCookie.js" },
Expand Down Expand Up @@ -18495,75 +18464,6 @@ const blockUrls = {
},
{ r: "/datenschutz.min.js" },
{ r: "/ccm19.js" },
{
r: "/wrapperMessagingWithoutDetection.js",
e: [
"lecker.de",
"standard.co.uk",
"ladbible.com",
"theguardian.com",
"theguardian.com.",
"bild.de",
"autoweek.nl",
"computerbild.de",
"bold.dk",
"welt.de",
"t-online.de",
"sport1.de",
"focus.de",
"chip.de",
"faz.net",
"n-tv.de",
"wunderweib.de",
"helpster.de",
"tvmovie.de",
"praxisvita.de",
"cosmopolitan.de",
"giga.de",
"ostsee-zeitung.de",
"sky.com",
"lvz.de",
"mein-schoener-garten.de",
"boerse-online.de",
"tvspielfilm.de",
"autobild.de",
"bike-bild.de",
"bz-berlin.de",
"travelbook.de",
"cyberport.at",
"cyberport.de",
"golem.de",
"express.de",
"ksta.de",
"utopia.de",
"video.sky.it",
"bndestem.nl",
"volkskrant.nl",
"rundschau-online.de",
"rtl2.de",
"capital.fr",
"derstandard.de",
"derstandard.at",
"unsere-helden.com",
"rtl.de",
"stern.de",
"myaccount.hln.be",
"nu.nl",
"maennersache.de",
"dpgmedia.nl",
"destentor.nl",
"zeit.de",
"ad.nl",
"dpgmedia.be",
"t3n.de",
"gelderlander.nl",
"gld.nl",
"aftonbladet.se",
"sp-prod.net",
"is.fi",
"heise.de",
],
},
{ r: "/app.dsgvo.min.js" },
{ r: "/trigoAboveBox.jquery.js" },
{ r: "/dsgvoinit.min.js" },
Expand Down Expand Up @@ -19046,6 +18946,25 @@ const blockUrls = {
"eurostar.com": ["/utag.js"],
"wko.at": ["/static/ct/consent.js"],
"oem.no": ["/ui/common/scripts/cookies/cookieModalComponent-797ec8a07a.js"],
"politico.eu": ["/wrapperMessagingWithoutDetection"],
"lovelybooks.de": ["/wrapperMessagingWithoutDetection"],
"idealo.de": ["/wrapperMessagingWithoutDetection"],
"idealo.at": ["/wrapperMessagingWithoutDetection"],
"idealo.es": ["/wrapperMessagingWithoutDetection"],
"idealo.fr": ["/wrapperMessagingWithoutDetection"],
"idealo.it": ["/wrapperMessagingWithoutDetection"],
"idealo.co.uk": ["/wrapperMessagingWithoutDetection"],
"femmeactuelle.fr": ["/wrapperMessagingWithoutDetection"],
"hausjournal.net": ["/wrapperMessagingWithoutDetection"],
"lepoint.fr": ["/wrapperMessagingWithoutDetection"],
"chefkoch.de": ["/wrapperMessagingWithoutDetection"],
"vg.no": ["/wrapperMessagingWithoutDetection.js", "cmp."],
"boerse.de": ["/wrapperMessagingWithoutDetection.js"],
"bt.no": ["/wrapperMessagingWithoutDetection.js"],
"liberation.fr": ["/wrapperMessagingWithoutDetection.js"],
"caradisiac.com": ["/wrapperMessagingWithoutDetection"],
"anderes-wort.de": ["/wrapperMessagingWithoutDetection"],
"bauer-baumschulen.ch": ["/CookieBanner.js"],
},
};

Expand Down
Loading