Skip to content

v1.4.1

Choose a tag to compare

@7PH 7PH released this 21 Apr 23:17
· 11 commits to master since this release

🔥 Release preview

Fix the script for JVC's new large-image markup. Réduire les grandes images en stickers and the ⭐ favorite button now work again on large images — and each image keeps its own aspect ratio instead of being letterboxed to 16:9.

🐞 Bug fixes

  • Detect JVC's new large-image element (<span class="message__urlImgLarge"> with background-image) so shrinkJvcLargeImages shrinks them and addImageFavoriteButton adds the ⭐ overlay.
  • Preserve each large image's real aspect ratio by probing a cheap xs thumbnail derived from the link URL, with fallback to the full URL.
  • Fix the favorite-button overlay collapsing to line-box width on spans by forcing the wrapping <a> to inline-block.
  • Drop the dead img.message__urlImgLarge CSS override in favor of a span-aware rule that zeroes out JVC's padding-bottom: 56.25% trick and black letterbox.