AO3: Reorder Tags with Drag & Drop

drag & drop tags into the order you'd like before posting

目前為 2023-09-03 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
escctrl
評價
0 0 0
版本
1.0
建立日期
2023-09-03
更新日期
2023-09-03
尺寸
11.8 KB
授權條款
MIT
腳本執行於

Drag & Drop Ordering

On Ao3, the order you're adding tags (fandoms, characters, relationships, additional tags) to your work determines the order they show up on your work once you save it. If you think of a tag late and want this to be the first tag, you'd have to delete and re-add all tags. No more!

With this script, each new tag becomes draggable: Once you have added all tags, you can just drag & drop them into the order you want.

That is, until you saved your work/draft...

Ordering Fixed Tags

Tags which were already saved in a particular order (if you posted your work or draft previously) are fixed in place by AO3 and cannot be re-ordered. Such tags are shown with a striped background, and a mouse-over text tells you that this tag isn't sortable. The only way to re-order fixed tags is to delete them, save the work, and re-add them. While re-adding, you can use the drag & drop feature of this script.

To help with that task, the script adds Copy and Delete buttons to the labels.

  1. Select the Copy button.
  2. A comma-separated list of these tags is now in your clipboard. Paste them in a notepad application somewhere for later.
  3. Select the Delete button to remove all tags under this label.
  4. Repeat steps 1-3 for any label where you need to re-order fixed tags.
  5. Save the work/draft.
  6. Go back to editing the work/draft.
  7. Copy the comma-seperated lists of tags from your notepad into the proper tags textboxes, and press the Enter key.
  8. Now the tags are sortable. Drag & drop them into the order you want.
  9. Save the work/draft again.

Colors

The script recognizes site skins such as Reversi, and adjusts its colors accordingly. But you can also set your own colors in the code in lines #19 - #22.

Known Issues

This script has been developed on Firefox Desktop, and has not yet been tested across browsers and OSs. (It's easier to install on various devices once it's been posted here.) If you run into issues, or have ideas how to improve the script, feel free to reach out e.g. via the feedback button.