Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.41 KB

README.md

File metadata and controls

45 lines (25 loc) · 1.41 KB

install

Description

This is a userscript for StackExchange chat. It replaces all direct links to images in starred messages widget with thumbnails of said images.

before after

It also shows the star counter on hover and allows you to star/unstar images.

animated gif

And shows a lightbox when any image is clicked.

lightbox

Current features:

  • Oneboxed images in chat will become thumbnails.
  • Add or remove stars normally. The star button appears on hover.
  • Linked images in the form of [text](image link) (assuming nothing else on the message) will become thumbnails with text being a title on the image.
  • Proper thumbnailing for imgur images.
  • Clicking on images will open a lightbox.

Planned features:

  • Accepting suggestions in answers below.

Install

You can find the repository that holds the code can be found here. To install, you must be able to run userscripts. Chrome does this by default (or with Tampermonkey) and Firefox does this with Greasemonkey.

Extra

Please note that this is still under development, and not all features are guaranteed to work properly.