AO3: [Wrangling] UW Tag Snooze Buttons

Adds snooze buttons for unwrangled tags

작성자
endofthyme
일일 설치 수
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.