你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/546157-spacebattles-reader-mode,源站連結 點此以跳轉。
Some minor tweaks to help enable and preserve reader mode on Space Battles.
Some minor tweaks to help enable and preserve reader mode on Space Battles:
*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.