Skip to content

Commit

Permalink
Fixed support for smallpdf.com
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Dec 20, 2023
1 parent db00113 commit 26e7f2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/data/js/5_clickHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -4200,11 +4200,6 @@ function getSelector(host) {
return _ev(
'div[./span[text()="Nós respeitamos sua privacidade"]]/following-sibling::button'
);
case "smallpdf.com":
return _if(
'img[src*="1f36a"]',
'//div[./div/span/span/img[contains(@src, "1f36a")]]/following-sibling::div/button'
);
case "metapop.com":
return '.modal-cookie-consent ui-button[ng-click*="accept"]';
case "telia.lt":
Expand Down
2 changes: 1 addition & 1 deletion src/data/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -12597,7 +12597,7 @@ const rules = {
s: "#caseys-cookie-modal{display:none !important}",
c: 14,
},
"smallpdf.com": { j: "5" },
"smallpdf.com": { s: ".rplgd-0{display:none !important}" },
"talouselama.fi": { j: "5" },
"nettiauto.com": { j: "5" },
"hartz.info": { s: "#my_privacy_policy{display:none !important}" },
Expand Down

0 comments on commit 26e7f2b

Please sign in to comment.