AO3: tag hider

Hide tags if there are too many tabs on browsing page and hide work data on viewing page.

As of 2018-06-11. See the latest version.

Author
Vannius
Ratings
0 0 0
Version
1.0
Created
2018-06-11
Updated
2018-06-11
License
N/A
Applies to

Add hide/show tags button to browsing pages, hide/show data button to viewing pages on AO3.

// Config
MAX_TAGS_ON_BROWSING_PAGE = 15 // When number_of_tags > 15, hide tags automatically on browsing pages.
MAX_TAGS_ON_BROWSING_PAGE = 0 // Hide tags always on browsing pages.

HIDE_WORK_DATA_AUTOMATICALLY_ON_VIEW_PAGE = true // Hide work data automatically on viewing pages.
HIDE_WORK_DATA_AUTOMATICALLY_ON_VIEW_PAGE = false // Do nothing on viewing pages.