@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) • 527 B
text/typescript
import { AutoConsent } from './base';
import TrustArc from './trustarc';
import CookieBot from './cookiebot';
import SourcePoint from './sourcepoint';
import ContentManager from './consentmanager';
import Evidon from './evidon';
import { AutoConsentCMPRule } from '../rules';
const rules = [
new TrustArc(),
new CookieBot(),
new SourcePoint(),
new ContentManager(),
new Evidon(),
];
export function createAutoCMP(config: AutoConsentCMPRule): AutoConsent {
return new AutoConsent(config);
}
export default rules;