From 2665ee81d22e2efecaa7ae0941977632c3cd89d1 Mon Sep 17 00:00:00 2001 From: OhMyGuus Date: Wed, 20 Dec 2023 23:11:59 +0100 Subject: [PATCH] Fixed support for komoot.XX --- src/data/js/5_clickHandler.js | 3 ++- src/data/rules.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/js/5_clickHandler.js b/src/data/js/5_clickHandler.js index 4c4f7588..51b3f603 100644 --- a/src/data/js/5_clickHandler.js +++ b/src/data/js/5_clickHandler.js @@ -380,8 +380,9 @@ function getSelector(host) { case "mediamarkt": if (host.full == "outlet.mediamarkt.nl") return ".force--consent.show--consent #s-sv-bn"; - return '#mms-consent-portal-container button[data-test*="save-settings"]'; + case "komoot": return '.ReactModal__Content--after-open button[data-testid="gdpr-banner-decline"]'; + } } diff --git a/src/data/rules.js b/src/data/rules.js index c827adda..e70c8466 100644 --- a/src/data/rules.js +++ b/src/data/rules.js @@ -16871,6 +16871,8 @@ const rules = { "heise.de": { j: 5 }, "temu.com": { j: 6 }, "all3dp.com": { j: 5 }, + "komoot.de": { j: 5 }, + "komoot.com": { j: 5 }, }; const blockUrls = {