aboutsummaryrefslogtreecommitdiff
path: root/src/patcher.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-03 18:56:22 +0200
committerVendicated <vendicated@riseup.net>2022-10-03 18:56:22 +0200
commit71a59f4020c089fcff1d20fb0bff00f765c83500 (patch)
tree7508a2c4f033551ffa40e47fe7fae9c8996751e0 /src/patcher.ts
parent07ed4fa01fe72b3ad71a87d02c0517d3fe4d7953 (diff)
downloadVencord-71a59f4020c089fcff1d20fb0bff00f765c83500.tar.gz
Vencord-71a59f4020c089fcff1d20fb0bff00f765c83500.tar.bz2
Vencord-71a59f4020c089fcff1d20fb0bff00f765c83500.zip
Remove electron level telemetry blocking
This is obsolete because the noTrack plugin already does this in renderer.
Diffstat (limited to 'src/patcher.ts')
-rw-r--r--src/patcher.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/patcher.ts b/src/patcher.ts
index 8ff92d2..2e13197 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 })
- );
});