by N. Escobar / nickesc
a browser extension that sets a white background
on
pages where background-color
is not explicitly set
White Background Enforcer
(WBGE
) is a small, open-source browser extension – made especially for Zen browser – that enforces (by default) a white background on transparent pages and pages that do not have a background-color
set.
Without WBGE |
With WBGE |
---|---|
![]() |
![]() |
The extension can be disabled and the color of the background can be changed using the extension's Toolbar Button or the extension's Preferences
tab in Add-on Manager (about:addons)
> Extensions
> White Background Enforcer
Some websites may need cutom rules for WBGE to function how you would like. Custom rules can be defined in the following JSON format:
{
"domain.com":{
"wbgeColor": "white",
"wbgeEnabled": true
}
}
Some things to keep in mind:
- Custom rules can only be applied to top-level domains (i.e.
reddit.com
,aliexpress.us
). - You do not need to define both keys.
- If the extension is not enabled, custom rules will not be applied.
For example, to add custom rules for Reddit and AliExpress:
{ "reddit.com":{ "wbgeEnabled": false }, "aliexpress.us":{ "wbgeColor": "#C0C0C0" } }
WBGE
does not collect or track any data.
WBGE
is licensed under The MIT License
. For more information, view the repository's LICENSE
file.