From 71a59f4020c089fcff1d20fb0bff00f765c83500 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 3 Oct 2022 18:56:22 +0200 Subject: [PATCH] Remove electron level telemetry blocking This is obsolete because the noTrack plugin already does this in renderer. --- src/patcher.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/patcher.ts b/src/patcher.ts index 8ff92d298..2e13197c2 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -64,10 +64,4 @@ electron.app.whenReady().then(() => { } cb({ cancel: false, responseHeaders }); }); - - // Drop science and sentry requests - electron.session.defaultSession.webRequest.onBeforeRequest( - { urls: ["https://*/api/v*/science", "https://sentry.io/*"] }, - (_, callback) => callback({ cancel: true }) - ); });