The userscript and its stylesheet have been almost completely rewritten, and the tooltip jank is now finally a thing of the past (it was all about giving up trying to use JS to handle hover events).
This overhaul brought some slight differences in how the userscript behaves now compared to previous versions, mainly:
- the "legacy" option for the hovering target has been removed (I warned you about this ages ago), therefore the icon now always appears;
- to display the tooltip now you have to click the 👁️🗨️ icon first (just hovering it does nothing). This will fetch all gallery tags and change the icon to a 🏷️, and hovering this 🏷️ icon shows the tags tooltip. (see next point for why this was done);
- to avoid spamming the E-H API with useless requests, once you fetch tags for a gallery these get saved (until you leave the current webpage) and won't be retrieved again if you hover multiple times;
- the 👁️🗨️ (and 🏷️) icon is different to better blend with native page content;
- the ⚙️ icon for userscript options was moved next to the layout selector dropdown.
With this release I feel I have no more reasons to continue tinkering with the script, and excluding bugfixes and site changes there will be no more updates.