AO3: Get Current Chapter Word Count

Counts and displays the number of words in the current chapter

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v1.2.1-20240705_232304 05 Juli 2024

    AO3 WordCount v1.2.1

    Prevent script from running on multi-chapter works which only have 1 chapter published.

  • v1.2.0-20240605_215452 05 Juni 2024

    AO3 WordCount v1.2.0

    Replace \w with [\p{Letter}\p{Mark}\p{Number}\p{Connector_Punctuation}] in the regular expession as that is the proper JavaScript equivalent to Ruby's [[:word:]]. Add support for most Unicode scripts supported in regular expressions. Use Array.from() instead of the spread syntax to convert the RegExpStringIterator into a countable array. Add ://archiveofourown.org/*chapters/ as a @match rule so that the script can work on URLs such as https://archiveofourown.org/chapters/141182779. Add ://archiveofourown.org/*works//navigate as an @exclude rule so the script does not run on the index page.

  • v1.1.3-20240526_162943 26 Mei 2024

    AO3 WordCount v1.1.3

    Get rid of the element containing the words "Chapter Text" using removeChild() so I don't have to use RegEx to get rid of it. Also some miscellaneous cleanup

  • v1.1.2-20240405_035735 04 April 2024

    AO3 WordCount v1.1.2

    Switch to using Intl.NumberFormat for making the word count thousands separated

  • v1.1.1-20240314_210740 14 Maret 2024

    AO3 WordCount v1.1.1

    Modify the match rule so that it matches collections//works URLs as well; Add an exlude role so it doesn't work on works//bookmarks pages as it isn't designed to

  • v1.1.0-20230909_151247 09 September 2023

    AO3 WordCount v1.1.0

    Implement a counting method that uses an attempted conversion of the Ruby regex code used by AO3 to JavaScript

  • v1.0.1-20230629_123742 29 Juni 2023

    remove unused parameter from Word_Counter

  • v1.0.0-20230621_163058 21 Juni 2023

    add icon to script before i forget AGAIN

  • v1.0.0-20230621_162903 21 Juni 2023

    update script description

  • v1.0.0-20230621_161918 21 Juni 2023

    remove unnecessary Boolean()

  • v1.0.0-20230621_160023 21 Juni 2023 Imported from URL