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

  • blobcat@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

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

    • shazbot@kbin.socialOP
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      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