AO3: Tag Word Cloud

Change font size of words of AO3 tags according to the word frequency in each chapter or entire works.

Author
Vannius
Daily installs
0
Total installs
144
Ratings
2 0 0
Version
1.6
Created
2020-08-02
Updated
2025-08-24
Size
14.6 KB
License
MIT
Applies to

AO3: Tag Word Cloud

Description

This script change font size of words of AO3 tags according to the word frequency in each chapter or entire works.

[Source] [Greasy Fork]

Demo

demo

Config

    // Config
    const MAX_FONT_SCALE = 200; // %
    const MIN_FONT_SCALE = 80; // %
    const FREEFORM_TAGS = true; // Apply TWC to freeform tags.
    const AUTO_TWC_ON_READING_PAGE = true; // Apply TWC automatically on reading page.

    // Treat related words as a group and add up the count of all words in that group
    const relatedWordGroups = [ // Lowercase only
        [ 'cat', 'catelyn' ], // Add up the count of "cat" and the count of "catelyn"
        [ 'eddard', 'ned' ]   // Add up the count of "eddard" and the count of "ned"
    ];

Compatible