AO3: [Wrangling] UW Tag Snooze Buttons

Adds snooze buttons for unwrangled tags

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
endofthyme
1日のインストール数
0
累計インストール数
147
評価
1 0 0
バージョン
0.4
作成日
2022/01/05
更新日
2024/01/10
大きさ
11KB
ライセンス
GPL-3.0 <https://www.gnu.org/licenses/gpl.html>
対象サイト

Adds a snooze button to each tag in an unwrangled tag bin that, when pressed, will cause the tag to be hidden from view for a specified number of days. Adds a selector to the top of the wrangle-to-fandoms box that allows toggling between snoozed, unsnoozed, and combined views. Also includes a button for clearing all existing snoozes, and a button for checking all unsnoozed tags on the page and snoozing any drafts. When tags are snoozed, a banner with tag links will appear above the Wrangle to Fandom(s) menu.

Setup instructions:

  • Pick a default number of days to snooze, and update the var DEFAULT_DAYS_TO_SNOOZE = 7; line accordingly.
  • Pick a default number of days to snooze drafts with the Snooze Drafts button, and update the var DRAFT_DAYS_TO_SNOOZE = 2; line accordingly.
  • If you want to change the default view from unsnoozed only, update the DEFAULT_BUTTON_OPTION line.
  • If you want to turn off the list of fandoms on crossovers, update the var SHOW_CROSSOVER_FANDOMS = true; line to var SHOW_CROSSOVER_FANDOMS = false;

Note that, to guard against accidental wrangling, the checkboxes on snoozed tags are automatically removed.
Snooze draft functionality is based on the Check Tag Status script.