AO3: Get Current Chapter Word Count

Counts and displays the number of words in the current chapter

目前为 2023-07-14 提交的版本。查看 最新版本

作者
w4tchdoge
评分
0 0 0
版本
1.0.1-20230629_123742
创建于
2023-06-21
更新于
2023-07-14
大小
2.8 KB
许可证
AGPL-3.0-or-later
适用于

AO3: Get Current Chapter Word Count

Userscript to count the number of words in the currently viewed chapter and display them in the work's statistics area.

Credits to:

I had originally tried to mimic how AO3 does it by looking at the code for their word counter function. However, that's coded in Ruby and I don't know enough about that languague to be able to port it.

If anyone looking at this knows how to, please feel free to modify what I've made here with your port of the AO3 function—or just make your own from scratch! Just please port it and make it available because knowing that this script and AO3's function give slightly different answers is slowly going to drive me insane.


Demo/Example Image:

Image showing how the userscript would display the current chapter's word count