AO3: [Wrangling] UW Tag Snooze Buttons

Adds snooze buttons for unwrangled tags

Autore
endofthyme
Installazioni giornaliere
0
Installazioni totali
147
Valutazione
1 0 0
Versione
0.4
Creato il
05/01/2022
Aggiornato il
10/01/2024
Dimensione
11 KB
Licenza
GPL-3.0 <https://www.gnu.org/licenses/gpl.html>
Applica a

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.