Skip to content

Commit

Permalink
Fixed autoweek.nl and DPG media sites
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Dec 25, 2023
1 parent 89e16e1 commit 464128c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 134 deletions.
15 changes: 9 additions & 6 deletions src/data/js/0_defaultClickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@
'.onetrust-pc-dark-filter:not([class*="hide"]):not([style*="none"]) ~ #onetrust-pc-sdk .onetrust-close-btn-handler:first-child',
],

".message-container": [
"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)",
],

'.message-container': [
'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",
Expand Down
9 changes: 4 additions & 5 deletions src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,10 @@ function getSelector(host) {
return ".message-column > p > .sp_choice_type_12, .sp_choice_type_SAVE_AND_EXIT";
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":
return _chain(
'.sp_choice_type_12, .tcfv2-stack[title*="Social"] .pm-switch',
".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');


case "o2.pl":
case "money.pl":
Expand Down
143 changes: 20 additions & 123 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -16978,6 +16978,8 @@ const rules = {
"swedbankrobur.se": { c: 85 },
"tobycarvery.co.uk": { c: 85 },
"toshiba-aircondition.com": { c: 85 },
"autoweek.nl": { j: 5 },

};

const blockUrls = {
Expand Down Expand Up @@ -18081,60 +18083,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",
"nu.nl",
],
},
{ r: "privacy-policy.u-lab.nl" },
{
r: "trustcommander.net/privacy",
Expand Down Expand Up @@ -18496,75 +18444,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 @@ -19047,6 +18926,24 @@ 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"],
},
};

Expand Down

0 comments on commit 464128c

Please sign in to comment.