AO3: [Wrangling] Highlight Bins with Overdue Tags

Highlight a bin on the Wrangling Home if the oldest tag in it is overdue

ผู้เขียน
escctrl
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
79
คะแนน
0 0 0
เวอร์ชัน
2.0
สร้างเมื่อ
01-05-2022
อัปเดตเมื่อ
16-08-2024
สัญญาอนุญาต
MIT
ปรับใช้กับ

Click the "Check Age" button next to the "Unwrangled" table heading, and the script will highlight fandom bins that contain tags older than 1 month.

The results of the last check are remembered as long as the tab is open, so you can refresh the page and still see the highlights. You can force it to check again by clicking the button again.

(for the screenshot I had the Rainbow Homepage script enabled)

Automatically checks only visible fandoms, meaning that if you use the Wrangling Filter Redux or n-in-1 Filters scripts, you can control through their filters which bins will get checked.

When you're using the UW Tag Snooze Buttons script, the age check will skip any tag that was snoozed. Please bear in mind, only the oldest 20 tags in the bin are checked - if all of them were snoozed, it won't look any further and it won't highlight the bin as overdue.

Optional configuration at the top of the code:

  • interval ... changes the speed at which bins are being checked. 3 seconds are default, but if you run into Retry Later, you can also increase this number. Reducing the number is not advisable.
  • css_link (styles a.has_agedout), css_link_before (styles a.has_agedout:before), css_cell (styles td.has_agedout) ... lets you define CSS to change the appearance of the "overdue" bins. It's set to some advanced CSS by default (see the screenshot), but you can overwrite that, or set them to empty quotes and manage it through your AO3 site skin instead.

Note: The script will see and highlight draft tags (to avoid additional page loads).

If you notice any problems, don't hesitate to reach out via the Feedback option.