Skip to content

Commit

Permalink
Fix the rule for termsfeed3 (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov committed May 2, 2024
1 parent 1e04eca commit b0948db
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions rules/autoconsent/termsfeed3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "termsfeed3",
"vendorUrl": "https://termsfeed.com",
"comment": "v3.x.x",
"cosmetic": true,
"prehideSelectors": [".cc_dialog.cc_css_reboot"],
"prehideSelectors": [".cc_dialog.cc_css_reboot,.cc_overlay_lock"],
"detectCmp": [
{
"exists": ".cc_dialog.cc_css_reboot"
Expand All @@ -21,7 +20,15 @@
],
"optOut": [
{
"hide": ".cc_dialog.cc_css_reboot"
"if": { "exists": ".cc_dialog.cc_css_reboot .cc_b_cp" },
"then": [
{ "click": ".cc_dialog.cc_css_reboot .cc_b_cp" },
{ "waitForVisible": ".cookie-consent-preferences-dialog .cc_cp_f_save button" },
{ "waitForThenClick": ".cookie-consent-preferences-dialog .cc_cp_f_save button" }
],
"else": [
{ "hide": ".cc_dialog.cc_css_reboot,.cc_overlay_lock" }
]
}
]
}

0 comments on commit b0948db

Please sign in to comment.