🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

SH Add Chapter Numbers

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.