SH Add Chapter Numbers

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

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Ultrabenosaurus
1日のインストール数
0
累計インストール数
11
評価
0 0 0
バージョン
0.2
作成日
2021/05/18
更新日
2021/11/25
大きさ
1.74KB
ライセンス
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.