SH Add Chapter Numbers

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Ultrabenosaurus
Denně instalací
0
Celkem instalací
11
Hodnocení
0 0 0
Verze
0.2
Vytvořeno
18. 05. 2021
Aktualizováno
25. 11. 2021
Size
1,7 KB
Licence
GNU AGPLv3
Spustit na

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.