AO3: Get Current Chapter Word Count

Counts and displays the number of words in the current chapter

코드가 바뀐 버전들입니다. 모든 버전 보기

  • v1.2.1-20240705_232304 2024-07-05

    AO3 WordCount v1.2.1

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

  • v1.2.0-20240605_215452 2024-06-05

    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 2024-05-26

    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 2024-04-04

    AO3 WordCount v1.1.2

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

  • v1.1.1-20240314_210740 2024-03-14

    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 2023-09-09

    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 2023-06-29

    remove unused parameter from Word_Counter

  • v1.0.0-20230621_163058 2023-06-21

    add icon to script before i forget AGAIN

  • v1.0.0-20230621_162903 2023-06-21

    update script description

  • v1.0.0-20230621_161918 2023-06-21

    remove unnecessary Boolean()

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