By default, the transparency of an image opened in a separate tab is indicated by a gray color. This script replaces it with a checkerboard pattern
< Feedback on Transparent standalone images
v3.0.1 affects the background of the first image found
Seems like the checkerboard render might remain distorted despite the render type selected. In that case need to tweak checkerboard size instead (or additionally)
v4 todo
v4 description
*images examples here*
If the checkerboard looks blurry or distorted, you can tweak its appearance through the script manager dropdown menu
On Tampermonkey the script doesn't work if there is Content‑Security‑Policy: sandbox
on the page. However, Violentmonkey automatically makes a bypass for this and works, but then the default base64 checkerboard doesn't work with a Refused to load the image
error in console, which seems to be another CSP restriction. Gradient checkerboard works alright. Page example:
v2.0.0 had false positives on pages where the image appears first. See https://dictionary.cambridge.org/
v3.0.0 would not work if there is an extension that inserts content, causing the image to no longer be the first element