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 language 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