Skip to content

Commit

Permalink
fixed support for xhamster.com
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Dec 23, 2023
1 parent 3e64f7a commit 149ff67
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
13 changes: 0 additions & 13 deletions src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -2432,19 +2432,6 @@ function getSelector(host) {
case "glaeserne-molkerei.de":
return ".state-o-overlay--open .js-m-gpr-settings__custom-button";

case "xhamster.com":
case "xhamster2.com":
case "xhamster3.com":
case "xhamster.desi":
case "xhamster18.desi":
case "xhamster.xuxporner.com":
return _chain(
".cookies-modal .customize",
".cookies-modal #nonEssential",
".cookies-modal #thirdParty",
".cmd-button-accept-all"
);

case "ideal.lv":
return _if(
".overlayopen",
Expand Down
24 changes: 18 additions & 6 deletions src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -13821,12 +13821,24 @@ const rules = {
"tf1info.fr": { j: "5" },
"flyr.com": { j: "5" },
"rewardlink.io": { c: 69 },
"xhamster.com": { j: "5" },
"xhamster2.com": { j: "5" },
"xhamster3.com": { j: "5" },
"xhamster.desi": { j: "5" },
"xhamster18.desi": { j: "5" },
"xhamster.xuxporner.com": { j: "5" },
"xhamster.com": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"xhamster2.com": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"xhamster3.com": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"xhamster.desi": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"xhamster18.desi": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"xhamster.xuxporner.com": {
"s": 'div[class^="cookiesAnnounce-"],.wrapper-4488f,.container-724f7{display:none !important}'
},
"bild.de": { j: "5" },
"wetter.com": { j: "5" },
"coolblue.nl": { j: "5" },
Expand Down

0 comments on commit 149ff67

Please sign in to comment.