Counts and displays the number of words in the current chapter
当前为
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:
