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

22 lines (18 loc) 509 B
import { AutoConsent } from './base'; import TagCommander from './tagcommander'; import TrustArc from './trustarc'; import CookieBot from './cookiebot'; import AppGdpr from './appgdpr'; import Future from './future'; import { AutoConsentCMPRule } from '../rules'; const rules = [ new TagCommander(), new TrustArc(), new CookieBot(), new AppGdpr(), new Future(), ]; export function createAutoCMP(config: AutoConsentCMPRule): AutoConsent { return new AutoConsent(config); } export default rules;