Greasy Fork is available in English.

AO3: Tag Hider

Hide tags automatically when there are too many tags. Add hide/show tags button to browsing page and reading page.

Autore
Vannius
Installazioni giornaliere
0
Installazioni totali
290
Valutazione
4 0 0
Versione
1.931
Creato il
11/06/2018
Aggiornato il
09/04/2019
Licenza
MIT
Applica a

AO3: Tag Hider

Description

Hide tags when there are too many tags automatically on AO3. Add hide/show tags button to browsing page and reading page.

[Source] [Greasy Fork]

Config

Browsing page: except of https://archiveofourown.org/works/*

const MAX_TAGS_ON_BROWSING_PAGE = 15;
// When number_of_tags > MAX_TAGS_ON_BROWSING_PAGE, hide tags on browsing page.
// If MAX_TAGS_ON_BROWSING_PAGE = 0, hide tags always on browsing page.
// If MAX_TAGS_ON_BROWSING_PAGE = 1000, show tags always on browsing page.

An example of browsing page when MAX_TAGS_ON_BROWSING_PAGE = 15

MAX_TAGS_ON_BROWSING_PAGE = 15

Reading page: https://archiveofourown.org/works/*

const MAX_TAGS_ON_READING_PAGE = 0;
// When number_of_tags > MAX_TAGS_ON_READING_PAGE, hide tags on reading page.
// if MAX_TAGS_ON_READING_PAGE = 0, hide tags always on reading page.
// if MAX_TAGS_ON_READING_PAGE = 1000, show tags always on reading page.
// number_of_tags on reading page also include Rating, Archive Warning, Category and Fandom tags.

An example of reading page when MAX_TAGS_ON_READING_PAGE = 0

MAX_TAGS_ON_READING_PAGE = 0