Greasy Fork

Image onMouseHover arch.b4k

Mouse over images to view full size

目前为 2021-04-25 提交的版本。查看 最新版本

作者
Zero_G
评分
0 0 0
版本
1.4
创建于
2021-03-28
更新于
2021-04-25
大小
6.3 KB
许可证
暂无
适用于

Replicate the displaying of image at top right of screen when hovering at top of it from 4chan, in arch.b4k.co

Works on images and videos.

Changelog:
-v1.1: - Add compatibility with "Inline Quote Links" script (https://greasyfork.org/en/scripts/424112-inline-quote-links-arch-b4k-co)
-v1.2: - Let image-video continue loading even if you hover out of image-video.
-v1.3: - Improve continue loading images even on mouse out. Now you can hover over various images, and all will continue loading.
- Move image file name to top of image thumb (can be disabled by setting const changePlaceOfImageFilename to false).
-v1.4: - Fix a bug where, if the image/video where to appear over the thumbnail, the event that enlarge and clears the image would trigger constantly.
- Added max width to the image/video container. (Set to default 80% of window, configurable by changing the const maxWidth).