Superscript Pinyin for Chinese Characters with API (Absolute Positioning)

Adds superscript pinyin to all Chinese characters on a webpage using an external API with absolute positioning for better visuals. Includes a toggle shortcut. Toggles on and off with ctrl + shift + p. Defaults to off. Perfectly reversible. Now batch processed.

As of 2024-08-26. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v4.5 2024-09-06

    Separate api call from cache when adding pinyin so as not to wait for api
    use translate to show pinyin past overflow
    custom tag to not have other css mess with it

  • v4.4 2024-08-28

    Minify the character cache list

  • v4.3 2024-08-28

    Prevent mutation loop, better position

  • v4.2 2024-08-26

    Reversable, hard stopable, status info, smoother ❤️

  • v4.1 2024-08-23

    Loader and prevent toggle while process

  • v4.0 2024-08-23
  • v3.1 2024-08-21
  • v3.0 2024-08-21
  • v2.6 2024-08-20
  • v2.4 2024-08-19