UNPKG

@cliqz/autoconsent

Version:

This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatica

19 lines 816 B
{ "name": "Admiral", "detectCmp": [{ "exists": "._4jQbdwtL-1-" }], "detectPopup": [{ "visible": "._4jQbdwtL-1-" }], "optIn": [{ "click": "._4CT8xzMH-1- :nth-of-type(2)" }], "optOut": [ { "click": "._4CT8xzMH-1- :nth-of-type(1)" }, { "click": "._8aLmoYax-1-", "optional": true, "wait": 100 }, { "click": ".b3uqphfm-1-:nth-of-type(2)" }, { "click": "._8aLmoYax-1-", "optional": true, "wait": 100 }, { "click": ".b3uqphfm-1-:nth-of-type(3)" }, { "click": "._8aLmoYax-1-", "optional": true, "wait": 100 }, { "click": ".b3uqphfm-1-:nth-of-type(4)" }, { "click": "._8aLmoYax-1-", "optional": true, "wait": 100 }, { "click": ".b3uqphfm-1-:nth-of-type(5)" }, { "click": "._8aLmoYax-1-", "optional": true, "wait": 100 }, { "click": "._2LyvGTsJ-1- > ._6NeLSgRP-1-" } ] }