Better Standalone Image

Make standalone image display better

ئاپتورى
eight
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
113
باھا نومۇرى
2 0 0
نەشرى
0.1.1
قۇرۇلغان ۋاقتى
2017-07-29
يېڭىلانغان ۋاقتى
2018-01-10
Size
1.8 KB
ماسلىشىشچانلىقى
Firefox بىلەن ماسلىشىدۇ Chrome بىلەن ماسلىشىدۇ
ئىجازەتنامىسى
MIT
قوللايدىغىنى
بارلىق بېكەتلەر

Better Standalone Image

An userscript to make standalone image display better.

Features

  • Style standalone image page. Make it center and background transparent.
  • Support SVG (Currently Greasemonkey-only).
  • No configuration. Please edit the source if you prefer a different color.
  • Work on CSP restricted sites.

Screenshots

Firefox

Before: http://i.imgur.com/UbKVXiy.png After: http://i.imgur.com/UFRgQuI.png

Chrome

Before: http://i.imgur.com/iAEWADT.png After: http://i.imgur.com/Ff1PPqF.png

Compatibility

  • Firefox + Greasemonkey 3
  • Chrome + Tampermonkey
    • Tampermonkey doesn't execute userscripts on SVG images.

Install

GreasyFork

Similar scripts

Known Issues

  • Vertical centering doesn't work well with SVG. Some parts might be cropped if the image is larger than windows.

Changelog

  • 0.1.0 (Jul 29, 2017)
    • First release