FA Infini-Gallery

Automatically loads the next page of the gallery as you reach the bottom

作者
Midori Tsume
今日安裝
0
安裝總數
177
評價
1 2 0
版本
2.2.0
建立日期
2023-03-26
更新日期
2025-02-03
尺寸
34.5 KB
授權條款
MIT
腳本執行於

FA Infini Gallery

A userscript that enhances FurAffinity gallery browsing by automatically loading the next page when scrolling to the bottom. Also see docs on FA-Infini-Gallery.

How to use

  • Load this script from GreasyFork or use it inside the browser extensions
  • The gallery will automatically:
    • Detect when you reach the bottom of the page
    • Load and append the next page's content
    • Resume scroll detection for continuous loading

Feature Roadmap

Feature Status
Automatic page loading ✅ Completed
Scroll detection ✅ Completed
Gallery management ✅ Completed
Support for all gallery types ✅ Completed
Support for watches pages ✅ Completed
Custom Settings ✅ Completed
Integration with Embedded-Image-Viewer ⠀⠀⠀⠀ ✅ Completed

Settings

  • showPageSeparator - Whether to show a page separator between pages (default is true)
  • pageSeparatorText - The text to use for the page separator (default is Infini-Gallery Page: %page%)

Documentation

InfiniGallery

The InfiniGallery class contains the following properties:

  • scanElem - The element used to detect when to load the next page (default is: footer)
  • galleryManager - Manages the gallery content and loading

Methods:

  • startScrollDetection() - Starts monitoring for scroll position
  • stopScrollDetection() - Stops scroll detection
  • async loadNextPage() - Loads and appends the next gallery page