Gallery Scroll Navigator (custom setting)

Automatically navigate next/previous pages for gallery sites by vertical scrolling, with scroll buffer for turning pages. Forked from [Gallery Scroll Navigator] by [Yukiteru]. User can now apply this script to any custom websites.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
php w
일일 설치 수
1
총 설치 수
4
평점
0 0 0
버전
2.0
생성일
2026-05-04
갱신일
2026-05-04
크기
29.6KB
라이선스
MIT
적용 사이트

📖 Overview

Automatically navigate next/previous pages for gallery sites by vertical scrolling, with scroll buffer (buffer that slows you down when turning pages).

This script is forked from Gallery Scroll Navigator by Yukiteru. All credit to the original creator.

New features: Able to Add New Supported Websites, 2 Navigation Modes, Adapted to Both desktop/mobile devices

Default supported websites: hitomi, pixiv, nhentai, exhentai, imhentai


✨ Key Features

All Settings are Optional

  • Navigating Pages by Vertical Scolling instead of Clicking Buttons
  • 2 Navigation Modes
    • Progress Bar not Accumulate Mode
    • Progress Bar Accumule Mode
  • User can Add Custom Supported Websites
    • User can add this feature to any (?) website. Details please see Settings
  • Adapted to both Desktop/Mobile

⚙️ Settings

A Setting UI Panel is made to manage all settings.

  • Sensitivity for Desktop/Mobile
  • 2 Navigation Modes:
    • Progress Bar not Accumulate Mode
      Scroll buffer can only be filled by one single scroll
    • Progress Bar Accumulate Mode
      Scroll buffer can be filled by multiple scrolls
  • Site Manager: user can define new websites for this script

    • Site Name
      Any name, not affecting the script
    • Host
      URL of the site
      • Please remember to add the site to //match in the script OR in the script setting
      • OR directly add *://* to //match to match all websites
    • Function Body of the Page Turning Function:
      The core logic function getPageButton(direction) {...} used in the script for page turning. User need to write this function (the {...} part) in Javascript.

      • Description of the function: getPageButton function takes direction, and return the Next/Prevous Page button or Null (if no button is found)
        • Input: direction (string), either 'next' or 'prev', depending on the scrolling direction. This is passed to the function automatically from the script
        • Output: Page button (HTML element), return Next button if 'next' is input, Previous button if 'prev' is input
        • Note: Output should return Null if no button can be found. E.g., Previous button cannot be found when user is at the 1st page
      • Example:
        A template function body suitable for website with a still Next/Previous button. No Previous button at 1st page; No Next button at last page.

        const selector = direction === 'next' ? 'CSS_selector_of_Next_button' : 'CSS_selector_of_Previous_button'; 
        const pageButton = document.querySelector(selector); 
        return pageButton || null;
        

        For more about CSS selector, please see FAQ


❓ FAQ

How do I find the CSS selector?

  1. Locate the target element on the page.
  2. Right-click > Inspect.
  3. In the DevTools window, right-click the highlighted element.
  4. Select Copy > Copy CSS selector.

🙏 Acknowledgments

  • AI assistance: this script was developed with the assistance of Gemini.
  • Forked from Gallery Scroll Navigator by Yukiteru. All credit to the original creator.

⚖️ Disclaimer

This script was developed with AI assistance. While tested, unforeseen issues or bugs may exist. Users assume all risks associated with using this script. The author is not responsible for any direct or indirect losses resulting from its use. Please comply with local laws and regulations.