Delete adblock.ts
This commit is contained in:
parent
1b6f7f7ed9
commit
20ee97836c
1 changed files with 0 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
|||
const fetchr = require("cross-fetch")
|
||||
const { ElectronBlocker, fullLists, Requests } = require('@cliqz/adblocker-electron')
|
||||
|
||||
let mainWindow: BrowserWindow | null = null;
|
||||
let blocker = await ElectronBlocker.fromPrebuiltAdsAndTracking(fetchr);
|
||||
blocker.enableBlockingInSession(mainWindow.webContents.defaultSession);
|
Loading…
Reference in a new issue