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

18 lines (17 loc) 456 B
import { AutoConsent } from './base'; import TrustArc from './trustarc'; import CookieBot from './cookiebot'; import SourcePoint from './sourcepoint'; import ContentManager from './consentmanager'; import Evidon from './evidon'; const rules = [ new TrustArc(), new CookieBot(), new SourcePoint(), new ContentManager(), new Evidon(), ]; export function createAutoCMP(config) { return new AutoConsent(config); } export default rules;