Greasy Fork

4chan Gallery

4chan grid based Image Gallery for threads that can load images, images with sounds, webms with sounds (Button on the Bottom Right)

目前为 2024-03-29 提交的版本。查看 最新版本

作者
SkAnon
评分
0 0 0
版本
2024-03-29 (1.5)
创建于
2024-03-26
更新于
2024-03-29
大小
30.6 KB
许可证
GNU GPLv3
适用于

1711457054296

Enhance your browsing experience on 4chan with the 4chan Gallery UserScript! This script adds a convenient "Open Image Gallery" button to threads on the 4chan /vt/ board. When clicked, the button opens an image gallery that displays all images and videos from the thread in a grid format (Even with Sound), making it easy to view and navigate through the media content.

Features:

  • Automatically detects and loads media content from the thread.
  • Dark mode compatibility for a seamless browsing experience.
  • Resizable grid with scrollbars for easy navigation.
  • Image/Gif/Video playback with sound support (if available) and play/pause, reset buttons.
  • Ability to enable only WebMs mode, and autoplay WebMs like Gifs.
  • View Post button to jump to the original post in the thread.
  • Close button to exit the image gallery.
  • Allows viewing of media within multiple archived threads at the same time (Checkbox).

Changelog:

  • 2023-03-29 (1.5): Added Gallery for the Archived Section at "https://boards.4chan.org/*/archive" which allows you to select multiple threads to view the media of at the same time.
  • 2023-03-26 (1.4): Fixed minor bug with loading WebM sounds when having 4chanX installed at the same time.
  • 2023-03-26 (1.3): Added button for toggling gallery of only WebMs, and another button for autoplaying/looping webms without sound (Turns off play on hover while toggled). Adds ability to seek/change duration bar on WebMs with audio, to sync the audio automatically. Retains scrollbar position, and gallery size upon closing gallery, until you go to another thread, and other major code improvements/optimizations.
  • 2023-03-26 (1.2): Fixed support for various 4chan boards.
  • 2023-03-26 (1.1): Supports Images, and WebMs, adds button for opening/closing gallery which displays a grid of images/webms.
  • 2023-03-26 (1.0): Script Creation.