Show/hide only comments by fic author (AO3)

Adds a button to toggle if commenters other than the author are visible

These are versions of this script where the code was updated. Show all versions.

  • v1.2 2021-09-01

    Changes made:

    • Added support for multiple authors
    • Hides function on comment threads for admin posts
  • v1.1 2021-08-31

    Changes made:

    - Checks if the page loaded with comments visible
    - Works with all navigation buttons, including pagination buttons
    - Added a toggle button to the top of the comment section, so the user doesn't have to reload the page to see hidden comments again
    - Works on full works and chapter views
    - Works on work pages and individual comment threads
    - Hides guest users, as well as logged-in users
    - Covers anonymous authors
    - Hides deleted comments but not links to nested comment chains
    - Implemented a max timer to the recursive timeout

  • v1.0 2021-08-21