Skip to content

molodchyk/Discord_Image_Blocker

Repository files navigation

Discord Image Blocker

Version License: GPL-3.0-or-later Privacy: no analytics

Discord Image Blocker is a tiny Chrome extension that hides image media on discord.com.

It is built for people who want a calmer Discord chat view with fewer visual distractions, without accounts, analytics, tracking, remote code, or a background service.

Discord Image Blocker promotional image

Features

  • Hides image media rendered in Discord chat.
  • Runs only on discord.com.
  • Uses a small Manifest V3 content script.
  • Uses Chrome's built-in localization system.
  • Does not collect, store, transmit, or sell data.
  • Does not use remote code.

Install Locally

This extension is currently intended for manual installation.

  1. Download or clone this repository.
  2. Open chrome://extensions in Chrome.
  3. Enable Developer mode.
  4. Click Load unpacked.
  5. Select this repository folder.
  6. Refresh Discord.

How It Works

Discord Image Blocker watches Discord's web UI for image media containers and hides them in the page.

It does not read message contents, modify your Discord account, contact a server, or block Discord's backend. It only changes what is visible in your browser tab.

Privacy

Discord Image Blocker is local-only.

  • No analytics
  • No tracking
  • No remote server
  • No remote code
  • No data collection
  • No account or login

See PRIVACY.md for the full privacy policy.

Project Status

Discord Image Blocker was briefly published on the Chrome Web Store, then removed by an automated Chrome Web Store review for a "Spam and placement" policy issue.

The project remains open source and useful for local installation. Separate Chrome Web Store publication is paused while the longer-term direction is evaluated, including a possible consolidation with related Discord media-blocking extensions.

Project Structure

  • manifest.json - Chrome extension manifest
  • src/content/ - content script modules
  • _locales/ - localized extension name and description strings
  • assets/icons/ - extension icons
  • assets/store/ - Chrome Web Store promotional images and screenshots
  • store-listing/ - Chrome Web Store listing copy by locale
  • docs/ - project notes, store listing index, and review justifications
  • tools/ - packaging and asset generation scripts
  • PRIVACY.md - privacy policy
  • LICENSE.txt - GPL license text

Development

After making content script changes, reload the unpacked extension from chrome://extensions and refresh Discord.

Check content script syntax:

node --check src/content/constants.js
node --check src/content/image-blocker.js
node --check src/content/main.js

Regenerate icons and Chrome Web Store promotional images:

powershell -NoProfile -ExecutionPolicy Bypass -File tools\generate-assets.ps1

Regenerate sanitized Chrome Web Store screenshots:

powershell -NoProfile -ExecutionPolicy Bypass -File tools\generate-store-screenshots.ps1

Create a Chrome Web Store upload package:

powershell -NoProfile -ExecutionPolicy Bypass -File tools\package.ps1

Documentation

Support

If this extension saves you time and you want to support its development:

Buy Me a Coffee Patreon

License

Licensed under GPL-3.0-or-later. See LICENSE.txt.

Releases

No releases published

Packages

 
 
 

Contributors