SpaceBattles Reader Mode

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

目前為 2025-08-29 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Ultrabenosaurus
評價
0 0 0
版本
1.7
建立日期
2025-08-17
更新日期
2025-08-29
尺寸
9.4 KB
授權條款
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
  • Pushes the post ID of the chapter (threadmark) to the address bar as you scroll*
  • Shows a mini Table of Contents for Threadmarks on the current page, hidden behind a circular button floating in the bottom-left of the screen (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.

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.