Transparent standalone images

By default, a transparency of an image opened in a separate tab is indicated by a gray color. This script replaces it with a checkerboard pattern

نووسەر
Konf
Daily installs
0
Total installs
44
Ratings
1 0 0
وەشان
2.0.0
Created
2021-01-31
Updated
2024-01-18
ڕێژەی گونجاوی
Compatible with Firefox Compatible with Chrome Compatible with Opera
مۆڵەت
نییە
Applies to
هەموو سایتەکان

About

Images with transparent background have a weird gray color behind them when they're opened in a new tab (for example, when you right-click and choose "View Image"). Because of that it's hard to tell what parts of an image are really transparent and in what degree. To solve this problem this script makes a background similar to Photoshop for a "single image" type of pages.

Example of an image with a transparent background: https://docs.htmlcsstoimage.com/assets/images/cat.png

You can use the script for a local files as well. To do that, in your browser settings allow your script manager extension to view local files.