🏠 Home 

Better Standalone Image

Make standalone image display better


ติดตั้งสคริปต์นี้?
ผู้เขียน
eight
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
112
คะแนน
2 0 0
เวอร์ชัน
0.1.1
สร้างเมื่อ
29-07-2017
อัปเดตเมื่อ
10-01-2018
Size
1.8 กิโลไบต์
ความเข้ากันได้
เข้ากันได้กับ 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