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

12 lines (10 loc) 247 B
import generateCMPTests from "./runner"; generateCMPTests('cc_banner', [ 'https://www.w3resource.com/', 'https://bitcoin.org/en/', ]) generateCMPTests('cc_banner', [ 'https://distrowatch.com/', ], { skipRegions: ['US', 'GB'], });