SpaceBattles Reader Mode

Some minor tweaks to help enable and preserve reader mode on Space Battles.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

작성자
Ultrabenosaurus
일일 설치 수
0
총 설치 수
2
평점
0 0 0
버전
1.13
생성일
2025-08-17
갱신일
2025-09-04
크기
11.6KB
라이선스
GNU AGPLv3
적용 사이트

Some minor tweaks to help enable and preserve reader mode on Space Battles:

  • If not in reader mode, adds a reader mode button next to the chapter title at the top of the post
  • If in reader mode, post number links will now keep you in reader mode (for copying / sharing)
  • Pushes the post ID of the chapter (Threadmark) to the address bar as you scroll*
  • Adds a floating button in the bottom-left to show a mini Table of Contents for Threadmarks on the current page
    • if not in reader mode, also shows scroll icons next to chapter links to enable reader mode
    • (mini-ToC is disabled by default; toggle from your userscript extension menu)

*May or may not work well with your browser's back button; it's using history.pushState so it should play nice, in theory.

Space Battles' own lists and menus of Threadmark links don't care if you're in reader mode and always disable it. Unfortunately, it is impossible to "fix" those links as the amount of pages in a thread change depending on whether non-Threadmark posts are visible or hidden, so it is impossible to determine what reader-mode-page any given Threadmark post should be on to create the correct link. Hence, this userscript adds an optional mini-ToC menu to try and alleviate the problem as much as possible.

The attached screenshots may be slightly out of date as I tweak the styling and features exactly; I will update them for any big changes, so they are generally representative of the optional mini-ToC.

Developed in Tampermonkey v5.3.3 using Firefox 141.0.2 (64-bit) on Fedora Linux and Fennec F-Droid 141.0.0 on Android 16.