SH Add Chapter Numbers

Add chapter numbers (release order) to all TOC items on a Scribble Hub series page.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Ultrabenosaurus
今日安裝
0
安裝總數
9
評價
0 0 0
版本
0.2
建立日期
2021-05-18
更新日期
2021-11-25
尺寸
1.7 KB
授權條款
GNU AGPLv3
腳本執行於

When viewing a series page on Scribble Hub, this script will automatically add chapter numbers to all TOC items. However, it is based on release order, so it will include side chapters and author's notes, etc.

As TOC pagination is done via AJAX without refreshing the page there is a slight delay between the new list loading and the numbers being added in, but this can be adjusted as milliseconds in the "setTimeout" call on line 35 if you have faster or slower internet.

Developed in Tampermonkey v4.13.6136 using Firefox 88.0.1 (64-bit) on Windows 10 Pro and also tested in Firefox 68.6.0 on Android 9.

I sometimes make dark CSS themes and JS userscripts. Some of them aren't terrible.