Skip to content

8ug8ird/BlockScience

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockScience

A lightweight BetterDiscord plugin designed to intercept and disable Discord's native tracking, analytics, and telemetry pipelines.

BlockScience Settings – Bottom

Features

  • Network Blocking – Intercepts fetch, XHR, and sendBeacon requests to tracking endpoints (Science, Analytics, Hotjar, Google) and simulates successful 200 OK responses locally.
  • Privacy Masking – Injects session-unique noise into Canvas, Audio, and WebGL outputs. Also masks hardware identifiers like userAgent, CPU cores, and device memory.
  • Telemetry & Analytics – Patches Discord's internal Science and Analytics modules, wipes Sentry error logs, and blocks voice call quality data transmission.
  • Storage Lockdown – Prevents telemetry data writes to localStorage, sessionStorage, and IndexedDB tracking queues.
  • Activity Prevention – Disables process monitoring, game detection, and Rich Presence telemetry.
  • Fault Tolerance – Fully isolated modular execution (try/catch blocks). If a Discord update breaks one component, the rest continue working without crashing the client.

Installation

  1. Download BlockScience.plugin.js.
  2. Go to Discord Settings > Plugins > Open Plugins Folder.
  3. Move the file into the folder and enable it.
⚙️ Configuration & Details (click to expand)

The integrated settings panel provides full control over the plugin:

  • Feature Controls – Independent toggles for each protection category.
  • Real‑Time Metrics – Visual indicator showing the total number of blocked telemetry attempts in the current session.
  • Developer Logs – Optional console logging to monitor intercepted requests (open with Ctrl+Shift+I).

Note: Status badges (Active, Inactive, Off) show the current state of each module. Toggling a feature requires a Discord client restart to take full effect.


Warning

This is a client modification using BetterDiscord. Using it is against Discord's Terms of Service. Proceed at your own risk, as it could potentially lead to account restrictions.

All operations are client-side. The plugin does not perform external network requests, data collection, or tracking.


License

MIT © 8ug8ird 🐦