This userscript adds a customizable black or white background behind WPlace tiles by intercepting the image data before it is drawn.
I originally created it with the help of ChatGPT because I have cataracts and it was very difficult for me to place pixels when the artwork color was too close to the background. Having a clear high-contrast background made pixel placement much easier.
Since it helped me a lot, I’m sharing it in case it can also help others who struggle with vision issues, color perception, or just want stronger contrast while working on WPlace.
You can enable/disable the blackout with a simple panel and choose between black or white as the background color.
How it works:
Intercepts tile PNGs from the WPlace backend.
Draws a solid black/white rectangle.
Overlays the tile on top.
Transparent areas now show the chosen background color.
Controls:
A small draggable panel appears in the top-left corner.
Buttons: OFF / ON, Black / White.
When you change the setting, pan or zoom to force tile reload.
Hopefully this can make WPlace more accessible for people like me.