Ego Dimmer is a Chrome extension that brings attention-seeking HDR images and video back to a comfortable brightness. Turn it on for the current website, choose how much HDR headroom to keep, and get back to the page without the glare.
It works locally in Chrome. There is no analytics, tracking, advertising, account, or background network activity.
- Dims HDR images, videos, and canvases on websites you choose.
- Includes LinkedIn, X, and Twitter by default.
- Offers two levels: Full SDR removes extra HDR brightness, while Gentle keeps a little HDR headroom.
- Requests access to other websites only when you turn dimming on for that site.
- Revokes a custom website's permission when you turn dimming off there.
- Stores your selected intensity and enabled websites in Chrome Sync.
Ego Dimmer does not inspect, download, proxy, or modify media. Ordinary SDR media is unaffected.
The Chrome Web Store listing will be linked here after the first public release.
- Clone or download this repository.
- Open
chrome://extensionsin Chrome 136 or newer. - Turn on Developer mode.
- Click Load unpacked and choose the repository folder.
- Optionally pin Ego Dimmer from Chrome's Extensions menu.
No build step is required to load the extension.
- Open the website whose HDR media you want to control.
- Open Ego Dimmer and turn on the large switch.
- If Chrome asks for access to that website, approve the request and reload the tab once.
- Choose Full SDR or Gentle.
Open the popup again to change the intensity or turn dimming off for that website.
Chrome can display HDR media above normal SDR reference white on supported displays. Ego Dimmer uses the browser-native dynamic-range-limit CSS property to limit that extra brightness:
- Full SDR applies
standard. - Gentle applies
constrained.
The content script runs at document_start, before page media paints. Settings are stored with chrome.storage.sync, and open pages respond to intensity changes immediately.
Chrome versions older than 136 can load the extension but ignore the unsupported CSS property.
Ego Dimmer has no analytics, tracking, advertising, accounts, or developer-operated servers. It reads the current site's domain when you open the popup and stores site preferences and intensity in Chrome Sync. Its permissions are limited to what the current-site controls require:
storagesaves your intensity and enabled websites in Chrome Sync.activeTabidentifies the current website after you open the popup.scriptingregisters the shared dimming script on websites you explicitly enable.- LinkedIn, X, and Twitter host access runs the dimming script on the default websites.
- Optional host access is requested one website at a time and revoked when you turn that website off.
Read the complete privacy policy.
The extension source is intentionally direct: no framework, bundler, minification, remote code, or runtime dependencies. The files in this repository are the files Chrome runs.
To work on Ego Dimmer, install the development tools and run the complete verification suite:
npm ci
npm run checkUseful commands:
npm run previewopens the popup preview athttp://127.0.0.1:4174/.npm run formatformats supported source and documentation files.npm run packagecreates the Chrome Web Store ZIP indist/.
Bug reports and focused pull requests are welcome. Open an issue to start a discussion.
Ego Dimmer is open source under the MIT License.