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
Инсталации дневно
0
Инсталации общо
48
Рейтинг
1 0 0
Версия
2.0.0
Създаден
31.01.2021
Обновен
18.01.2024
Размер
2 КБ
Съвместимост
Съвместим с Firefox Съвместим с Chrome Съвместим с Opera
Лиценз
Няма
Работи на
Всички сайтове

🐣 This script is not abandoned

If it doesn't work properly, use the script discussions or DM me on the website

About

Images with a 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