Format blocker file + use window session in adblocker

This commit is contained in:
TC
2020-04-12 21:57:13 +02:00
parent 3bbab525c6
commit 26dd7c5f71
2 changed files with 11 additions and 10 deletions

View File

@ -1,2 +1,2 @@
const { loadAdBlockerEngine } = require("./blocker");
module.exports = () => loadAdBlockerEngine(true);
module.exports = (win) => loadAdBlockerEngine(win.webContents.session);