你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/31865-better-standalone-image,源站連結 點此以跳轉

Better Standalone Image

Make standalone image display better



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/31865/Better%20Standalone%20Image.user.js

安装此脚本?
作者
eight
日安装量
0
总安装量
114
评分
2 0 0
版本
0.1.1
创建于
2017-07-29
更新于
2018-01-10
大小
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