mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Format blocker file + use window session in adblocker
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
const { loadAdBlockerEngine } = require("./blocker");
|
||||
module.exports = () => loadAdBlockerEngine(true);
|
||||
module.exports = (win) => loadAdBlockerEngine(win.webContents.session);
|
||||
|
||||
Reference in New Issue
Block a user