79
submitted 1 year ago* (last edited 1 year ago) by shazbot@kbin.social to c/kbinMeta@kbin.social

This userscript unsquashes inline images in comments by fetching the source image and downscaling it to 50%.

Requires *monkey extension to run (greasemonkey, tampermonkey, violentmonkey, et al)

Edit: also updated it to support the thread index

you are viewing a single comment's thread
view the rest of the comments
[-] blobcat@kbin.social 4 points 1 year ago

replaced https://kbin.social/m/* with https://kbin.social/* so it also fixes images on profiles

[-] shazbot@kbin.social 5 points 1 year ago* (last edited 1 year ago)

I was kind of leery of making this global because I didn't want it to affect thumbnails on the thread index, since they must be confined to a finite area, whereas in a thread they can flex downward. (The fetched image can be an arbitary size.) But it looks like they don't use the same selector, so should be safe.

Edit: I've updated it to support thread index, inline images, and profile pages and the differing aspect ratios

this post was submitted on 18 Jun 2023
79 points (100.0% liked)

/kbin meta

39 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 1 year ago