Skip to content

Transparent Standalone Images by commenter25

Imported and mirrored from https://raw.githubusercontent.com/Commenter25/userstyles/master/tpimgs/tpimgs.user.css

Screenshot of Transparent Standalone Images

Details

Authorcommenter25

LicenseUnlicense

Categoryglobal, firefox, file, image

Created

Updated

Size537 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Recreation of the identically named Firefox extension, fixing a bug with transparent images being viewed directly.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Transparent Standalone Images
@namespace      github.com/Commenter25
@version        1.0.1
@license        Unlicense
@author         Commenter25
@description    Recreation of the identically named Firefox extension, fixing a bug with transparent images being viewed directly.
@homepageURL    https://github.com/Commenter25/userstuffs
@supportURL     https://github.com/Commenter25/userstuffs/issues
==/UserStyle== */

@-moz-document regexp(".*(png|gif|webp).*") {
	img.transparent { background: none }
}

Reviews

No reviews yet.