Releases: RisiBank/risibank-userscripts
Releases · RisiBank/risibank-userscripts
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.
v1.4.0
🔥 Release preview
Fix the message edit form plugin for JVC's new React-based HTML. The RisiBank button now appears in the edit toolbar again, with proper sticker hash support and cursor-aware insertion.
🚀 Features
- Add options to shrink JVC stickers and large images
- Add support for conditional JVC-native sticker usage from RisiBank
- Add visual separators to group options panel settings
🐞 Bug fixes
- Fix MessageEditFormEnhancerPlugin for JVC's new HTML structure (event delegation, live DOM polling, capture phase click handling)
- Align edit form overlay options with main view (mediaSize, navbarSize, showNSFW,
#stickerhash)
💻 Code quality
- Remove unused YoutubePlugin
- Clean up option labels
v1.3.4
🔥 Release preview
Fix compatibility with JVC's latest HTML changes. JVC replaced img-shack class with message__urlImg on sticker images, breaking transparency restoration and GIF animation.
🐞 Bug fixes
- Fix image selector to match JVC's new
message__urlImgclass (ImageEnhancerPlugin) - Update injected image class in
LinkEnhancerPluginto match new markup
v0.1.1
🔥 Release preview
Allow to specify NSFW on/off for the JVC userscript
🚀 Features
- Allow to specify NSFW on/off for the JVC userscript
🤔 Changes
N/A
💻 Code quality
N/A
🐞 Bug fixes
N/A
👥 Thanks
@Lantea-Git for listing all the bugs on after the update 😁