Repository navigation
v1.4.1
🔥 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">withbackground-image) soshrinkJvcLargeImagesshrinks them andaddImageFavoriteButtonadds 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>toinline-block. - Drop the dead
img.message__urlImgLargeCSS override in favor of aspan-aware rule that zeroes out JVC'spadding-bottom: 56.25%trick and black letterbox.