Greasy Fork is available in English.

Standalone Image Background and Transparency

Change standalone image background and show its transparency on Firefox. Use context menu to configure. For Gecko-based browsers only.

Tämä skripti on poistettu. "Automated delete due to script containing JavaScript syntax errors"

Tekijä
LouCypher
Päivittäiset asennukset
0
Asennuskerrat
245
Arvostelut
8 0 0
Versio
9.0
Luotu
Päivitetty
Lisenssi
GPL
Käytössä
Kaikki sivustot

Tekijän kuvaus

License GNU General Public License.

Compatibility

See Known issues section below for known issues.

Changelog

See changelog.txt.

Screenshots

PNG image

Before
After

SVG image

Before
After

Documentation

Configurations

To change image background settings, right click on the page.

Firefox context menu

Change background color

To change background color, select Change Background Color on
context menu to open color setting dialog.

Color setting dialog with color picker

Please note that the color picker requires JavaScript to be enabled. However, you can still change

background color by entering any valid color value.

If you have NoScript extension, color picker will work if you allow the site from NoScript menu.

Color setting dialog without color picker

Toggle checkerboard background

To toggle checkerboard background, check/uncheck Use Checkerboard Background on context menu.

Toggle image transparency

To toggle image transparency, check/uncheck Show Image Transparency on context menu.

Toggle image placeholder

This option only available if you enable Show Image Transparency setting.

It lets you see image dimension while viewing its transparency.

With image placeholder
Without image placeholder

Known issues

Menu Editor bug

Context menu does't appear if Menu Editor extension is installed and enabled (Menu Editor bug 25332).

Use User Script Commands in Monkey Menu to configure.

SVG images

Context menu to configure background color doesn't work on SVG images.

URL schemes

By default, this script will not run on image on local disk. To enable it:

  • Greasemonkey:

    1. Type about:config?filter=fileIsGreaseable in Location Bar and press Enter.
    2. Change extensions.greasemonkey.fileIsGreaseable value to true.
  • Scriptish:

    1. Open Scriptish options.
    2. On Sciptish options dialog, select Advanced tab.
    3. Turn on file protocol in Additional protocols option.

The script will not run on about: and chrome: schemes (e.g. about:logo, chrome://greasemonkey/skin/icon32.png)

with Greasemonkey (see Greaseable schemes).

With Scriptish, you can enable them by repeating step 1 and 2 above, then turn on about protocol and

chrome protocol in Additional protocols option.