AO3: [Wrangling] Action Buttons Everywhere

Adds buttons to manage tags EVERYWHERE you want, turns tag-URLs in comments into links, and can show search results as a table

当前为 2025-07-12 提交的版本,查看 最新版本

作者
escctrl
评分
0 0 0
版本
5.0
创建于
2024-07-28
更新于
2025-07-12
大小
77.5 KB
许可证
MIT
适用于

💖 What it does

By adding buttons to access various wrangling pages, it reduces the number of clicks and pages you have to navigate. There are also buttons which let you quickly copy a tag's name or link.

Buttons can be added at the top of the wrangling pages, in the "Manage" column within bins, next to tag search results, and on tag comments in the AO3 Inbox. They can be icons or text. The Tag Search results can be displayed in a table format, instead of the standard list.

example view of the various wrangling pages with additional action buttons

🪴 How to use it

You can choose which buttons should be displayed, and where. After installing the script, open the configuration dialog to change the settings. Touching the code is not needed.

Not all buttons can be enabled in all places; overall, the following actions are available:

  • Search: a link to the Tag Search page (/tags/search)
  • Search this Fandom: a link to the Tag Search with this fandom and tag type already selected (this button will only display on Fandom tags)
  • New Tag: a link to the New Tag page (/tags/new)
  • Landing Page: a link to the Landing page (/tags/x) showing its tag associations
  • Edit: a link to the Tag Edit page (/tags/x/edit)
  • Wrangle: a link to the tag's Bin (/tags/x/wrangle)
  • Comments: a link to the tag's Comments page (/tags/x/comments); at the top of pages also shows the number of comments on the tag
  • Works: a link to the tag's Work listing (/tags/x/works); will show the number of total works (incl. subs and syns) on Edit pages of canonicals
  • Bookmarks: a link to the tag's Bookmark listing (/tags/x/bookmarks); will show the number of total bookmarks (incl. subs and syns) on Edit pages of canonicals
  • Troubleshooting: a link to the Troubleshooting page (/tags/x/troubleshooting) to fix common tag issues
  • Copy Name: copy the tag's name (as plaintext) to the clipboard
  • Copy Link: copy an HTML link to the tag, which can be pasted into an AO3 comment, to the clipboard
  • Copy Misc: opens a little dialog with multiple formatting options to copy the tag to the clipboard; it adds a click but saves space if you need those other formats often
    • the tag's name (plaintext)
    • an HTML link for AO3 comments
    • a link for pasting in Chat (useful if you're wrangling on mobile, see Known Limitations)
    • a link for pasting in the wiki
  • Remove: (only in bins) remove the tag from this fandom

Viewing the Tag Search results in a table can also be enabled in the configuration dialog. If you prefer the table to only be as wide as the longest tag, you can enable the "Resize table dynamically with tags" option.

If Inbox & Comments are enabled in General Settings, it automatically turns plaintext URLs into clickable links. Then you can also turn the name of a tag into a link at the push of a button:

  1. In the comment, highlight the text which is the tag's name.
  2. Select the "Linkify" button at the bottom right corner of the comment.
  3. The highlighted text turns into a link. Any action buttons enabled for Comments are shown to the right of the link.
GIF of the described workflow to turn highlighted text into a link

🎨 How to configure it

In the main navigation of AO3, next to “About”, there’s a new menu item “Userscripts”.

From the “Userscripts” menu, select the “Wrangling Action Buttons” option.

A configuration dialog opens. Here, you can set your preferences.

example view of the configuration dialog

Action Buttons

Use the switches "Action buttons on Top of all Tag Pages", "Action buttons on Manage column in Bins", "Action buttons on Inbox & Comments", and "Action buttons on Tag Search results" to choose where on the pages you'd like to have the action buttons.

In each enabled section, their available buttons are listed. Enable those you want to show up, or disable those you don't need. Drag & drop the enabled buttons into the order you'd like to see them in.

Show Tag Search results as a table

If you'd like the results of a Tag Search to be displayed as a table, toggle Show Search Results as a table on.

For the results table, you can additionally choose the order of the columns:

  • Type: the tag type (Fandom, Character, Relationship, etc)
  • Name: the name of the tag itself, which is always a link to the tag's Landing page
  • Uses: the number of times this tag has been used by taggers
  • Manage: the column holding any enabled action buttons
  • Peek Script: If you're using the AO3: [Wrangling] Show fandoms in Tag Search! script or the AO3: [Wrangling] Fetch All Tag Info script, their data will always be added as columns at the right

If you'd like the table to always use the full width of the browser window, leave Make the table only as wide as the tags disabled. If the table should only be as wide as the longest tag name, enable the option.

General Settings

Use icons instead of text labels reduces the space each button needs by switching from textual labels to small icons.

If icons are enabled, you can also choose which icon style to use. Currently supported are the solid (filled) icons of Fontawesome, Heroicons' solid icons, and the thin outline icons by Lucide.

Silently load Work/Bookmark/Comment counts pulls in the numbers where AO3 usually doesn't show it. On Works and Bookmarks pages, it loads the comment count. On Edit pages of canonical tags, it retrieves the total number of works and bookmarks (including all subs and syns). These silent page loads might get you rate-limited faster, and temporarily disabling this can help avoid it.

🐞 Known limitations and cross-compatibility

To ensure compatibility with AO3: [Wrangling] View and Post Comments from the Bin, please make sure you have the latest version.

This script is compatible with AO3: [Wrangling] Comment on tags without leaving bins!!!. Where its "Add comment" button appears depends on which action buttons you have configured and in which order the scripts run in your browser.

It also is compatible with AO3: [Wrangling] Check Tag Status and AO3: [Wrangling] Check Unique Tag Users.

This script might not play well with others if they rely on the buttons in the "Manage" column. Ping me if you need help getting it to cooperate with another script.

Please note that the AO3: [Wrangling] Show fandoms in Tag Search! script has a separate configuration whether it should expect search results in a list or table format. AO3: [Wrangling] Fetch All Tag Info requires the search results table view to be enabled.

Copying "for chat" will paste a formatted link on desktop. The mobile app however doesn't support pasting formatted links, so "for chat" instead pastes a combination of "[tag name] [tag link URL]".

The text and icon labels for the action buttons are fixed, but can be changed in the script's code. Ping me if you need help making those changes.

🏛️ History

  • v5
    • new icons, three styles available
    • new Config GUI layout
    • Search In Fandom automatically filters by the bin's tag type (char/rel/freeform)
    • major code rewrite to simplify and reduce script size
  • v4 - config setting to help avoid getting rate-limited
  • v3 - new Copy Misc button with new options to copy links formatted for Chat and for Wiki
  • v2 - add fandom-specific tag search link at top of Fandom tag pages
  • v1
    • consolidation from previously separate "All Action Buttons on all pages" and "All Action Buttons in Tag Bins" scripts
    • incorporate logic to display Tag Search results as a table
    • consistently add all navigation buttons on top of all wrangling pages and display number of comments, works, and bookmarks
    • flexibly configure any navigation buttons within bins
    • further compatability improvements to enable other scripts that add buttons

🏅 Credit

This script was inspired by the AO3: [Wrangling] Tag Comments Button + Iconify and [AO3 Wrangling] More mass bin buttons scripts. It expands on those ideas, but doesn't share any code in common.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址