Skip to content

Firefox PNG Transparency Fix by ham

Screenshot of Firefox PNG Transparency Fix

Details

Authorham

LicenseNo License

CategoryAll Sites

Created

Updated

Size708 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Fixes transparent images in Firefox
Great for viewing PNGs GIFs etc in browser

The fuzzy gray background is finally gone!

Like Transparent Standalone Images

Notes

Intended for Firefox

Source code

/* ==UserStyle==
@name         Firefox PNG Transparency Fix
@version      1.0
@namespace    userstyles.world/user/ham
@description  Fixes transparent images in Firefox
Great for viewing PNGs GIFs etc in browser
The fuzzy gray background is finally gone!
Intended for Firefox
@author       ham
@license      No License
==/UserStyle== */

/* chrome://global/skin/media/imagedoc-lightnoise.png */
/* chrome://global/skin/media/imagedoc-darknoise.png */

@-moz-document regexp(".*") {

img.transparent {
    background: hsla(0, 0%, 90.2%, 0) url("");
    color: #2220;
}

body {
    background-image: url("");
}

img.transparent {
    background: hsla(0, 0%, 90.2%, 0) url("");
}

}

Reviews

No reviews yet.