Fix Muted Images • Lightweight UserScript • Instant Auto-Apply • Works On GitHub
- ✨ Features
- 🕵🏼 Usage
- 🧩 Compatibility
- 🎯 Motivation
- 📝 Changelog
- 🪪 License
- 💖 Support
- 👨🏻💻 Author
- 🖼️ Removes the muted gray background from GitHub's broken/fallback images
- ⚡ Works instantly on page load, no delay or flicker
- 🔄 Keeps working across GitHub's soft page navigation, no re-triggering needed
- 🪶 Zero dependencies, tiny footprint, nothing to configure
- 🎯 Targets only fallback images, no side effects on other GitHub UI elements
- 🔓 No special permissions required, works with
@grant none - 🌐 Works across all of GitHub's pages automatically
Install the script via Greasyfork or another UserScript manager (Tampermonkey, Violentmonkey, Greasemonkey).
The script runs automatically on github.com and requires no configuration. Once installed, the muted gray background applied to broken or fallback images is removed on page load and persists across GitHub's soft navigation without needing a manual refresh.
- Chrome
- Firefox
- Safari
- Edge
- Opera
GitHub applies a muted gray background to images that fail to load or fall back to a placeholder state. This background is visually inconsistent with dark themes and custom color schemes, making broken image placeholders stand out in an unintended way.
This script overrides that background with a single injected CSS rule, targeting only the fallback image class so no other GitHub UI elements are affected.
Read about the latest changes in the CHANGELOG.
Licensed under the GPL-3.0-or-later license.
Support helps fund new open-source tools, maintenance, and documentation, thank you!
Created by Igor Dimitrijević (@igorskyflyer).
