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

17 lines (14 loc) 339 B
import generateCMPTests from "./runner"; generateCMPTests('quantcast', [ 'https://www.cyclingnews.com/', 'https://www.techradar.com/', ], { skipRegions: ["US", "GB", "FR"] }); generateCMPTests('com_quantcast2', [ 'https://www.fandom.com/', ], { testOptOut: false, testSelfTest: false, skipRegions: ["US"] });