Skip to content

Creates thumbnails from starred oneboxed messages

Notifications You must be signed in to change notification settings

ShinonomeLab/star-thumn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

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

screenshot

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

animated gif

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.
  • Images from googledrive.com will be properly thumbnailed with the _thumb suffix. Link will lead to full size image. (This is a thing specific to our chat room.)

Planned features:

  • Proper thumbnailing for imgur images (use the s or m suffix to save bandwidth)
  • 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 user scripts. 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.

About

Creates thumbnails from starred oneboxed messages

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.0%
  • CSS 16.0%