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

9 lines (6 loc) 196 B
import handleContentMessage from '../lib/web/content'; chrome.runtime.onMessage.addListener(handleContentMessage); chrome.runtime.sendMessage({ type: 'frame', url: window.location.href, });