AO3: [Wrangling] Collapse and Expand Tag Lists

adds accordions to collapse long lists of tags on Tag Landing pages

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
escctrl
Daily installs
0
Total installs
48
Ratings
1 0 0
Version
2.2
Created
2022-07-31
Updated
2026-05-10
Size
3.57 KB
License
GNU GPL-3.0-only
Applies to

💖 What it does

Tag lists on the landing pages can be very long and unwieldy. To navigate and find what you're looking for more easily, the sections for Synonyms, Metatags, and Subtags can be collapsed. You can also collapse any subtag trees, or hide all tags with fandom disambigs.

example view of a tag landing page. the Synonyms group and the Baking subtag tree have been collapsed.

🪴 How to use it

The groups and all their tags are still shown by default. Click the triangle next to a section to hide or show its tags.

The buttons in the Subtags heading lets you:

  • collapse or expand all subtag trees at once
  • hide or show all subtags, which have a fandom disambig (and are therefore not No Fandom tags)

🐞 Known limitations

"Hide all disambigged": The script does not check whether tags are attached to No Fandom or something else, because that would create a lot of background page loads and either takes forever or would have you rate-limited quickly. Instead it only recognizes a disambig, and will hide such tags. It doesn't catch all fandom-related tags, but can still shorten the list. It might also catch disambigged concepts in NF, such as "Cotton Candy (Food)" or "Berlin (City)".

The initial version of the script automatically collapsed groups and subtag trees. This logic has been removed; there's no configuration. Hopefully the ability to collapse all trees at once is more useful.

🏛️ History

  • v2 - added "hide all subtrees" and "hide all disambigged" tags buttons
  • v1 - accordions for groups and subtag trees