Skip to content

igorskyflyer/userscript-github-unmute-images

Repository files navigation

Icon of Unmute Images on GitHub

Unmute Images on GitHub


Fix Muted Images • Lightweight UserScript • Instant Auto-Apply • Works On GitHub

A UserScript that removes the muted background color from images on GitHub.


Table of Contents


Features

  • 🖼️ 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

Usage

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.


Compatibility

  • Chrome
  • Firefox
  • Safari
  • Edge
  • Opera

Motivation

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.


Changelog

Read about the latest changes in the CHANGELOG.


License

Licensed under the GPL-3.0-or-later license.


Support

If this open-source project has saved you time or improved your workflow, consider supporting its continued development via LiberaPay or Ko-Fi.

 Igor Dimitrijević (igorskyflyer) - Donate via Liberapay to Sustain Open-Source Projects Support Igor Dimitrijević (igorskyflyer) - Donate via Ko-Fi to Sustain Open-Source Projects

Support helps fund new open-source tools, maintenance, and documentation, thank you!

Author

Created by Igor Dimitrijević (@igorskyflyer).

Sponsor this project

Contributors