From 20ee97836c897bce7ca7dd0557e425e26c249310 Mon Sep 17 00:00:00 2001 From: NodeMixaholic Date: Fri, 3 Mar 2023 07:09:32 -0600 Subject: [PATCH] Delete adblock.ts --- adblock.ts | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 adblock.ts diff --git a/adblock.ts b/adblock.ts deleted file mode 100644 index 86a617d..0000000 --- a/adblock.ts +++ /dev/null @@ -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); \ No newline at end of file