AO3: [Wrangling] Highlight Bins with Overdue Tags

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

目前为 2022-05-01 提交的版本。查看 最新版本

作者
escctrl
评分
0 0 0
版本
0.1
创建于
2022-05-01
更新于
2022-05-01
大小
7.6 KB
许可证
MIT
适用于

Purpose: highlight bins on your Wrangling Home page, if they contain tags that are older than e.g. 1 month

Instructions: The script adds a link into the first paragraph, from which you can start the "check for overdue tags". The script then slowly opens each unwrangled bin's page in the background, and checks the oldest tag. If the tag is older than allowed, the bin gets highlighted. While the check is running, you'll see it reporting progress. You'll also see a message once it completed successfully, or if it ran into errors due to Ao3's page load throttling ("retry later").

After installing the script, the CONFIGURATION OPTIONS at the top allow you to define how the check should work.

  • filter_fandoms ... If you're using the Wrangling Filter Redux or the n-in-1 Filters scripts, which let you divide your Assigned Fandoms into solo- and co-wrangled lists, you can use this configuration to define which group you'd like to check. Alternatively, you can also check all unwrangled bins. If you're not using either of these filtering scripts, all bins are checked.
  • css_link and css_cell ... Defines how the bins with overdue tags should be highlighted, by formatting the link and/or the whole cell. By default, the link text appears bold.
  • max_age_days and max_age_months ... Sets the tag age which is considered "too old" and causes the highlighting of the bin (can be used together)
  • interval ... Controls the speed of the script, by setting the wait period between each background page load. Default is 3 seconds, but if you run into Retry Later, you can also increase this number. Reducing the number is not advisable.

Tested: So far on Firefox for Windows. This is essentially a beta.

Known Issues:

  • This hasn't been thoroughly tested at all. If you notice any problems, don't hesitate to reach out via the Feedback option.
  • The script will see and highlight snoozed tags (that stored data isn't shared between scripts), as well as draft tags (to avoid additional page loads).