@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
8 lines (7 loc) • 308 B
JavaScript
const fs = require('fs');
const manifestFile = './addon/manifest.json';
const day = new Date()
const version = `${day.getFullYear()}.${day.getMonth() + 1}.${day.getDate()}`
const manifest = require(manifestFile);
manifest.version = version;
fs.writeFileSync(manifestFile, JSON.stringify(manifest, null, 2));