A Tampermonkey userscript which displays tooltip hints for a predefined list of characters whenever they show up on a website.
You can get a better picture of what it does here where the script is used to provide pronunciation help for Japanese katakana and hiragana characters.
- Download the Tampermonkey extension for Chrome
- Download this userscript
- Upload the script to Tampermonkey and enable it
- Verify that it works for you by going to, idk, Wikipedia's katakana page
- Replace the lists with whatever you want
The script uses two arrays, one called check (which contains all of the characters you want tooltips for) and one called tool (which contains all of the tooltips for the characters in check).
To use your own lists you should
- Delete all of lines 1-35
- Initialise the check and tool arrays by typing
var check = [];andvar tool = []; - Populate the lists by typing
check = [(Your list goes here, each character is surrounded by speech marks and are comma-separated)];
For example, if you want to look for instances of the letters a and t and the number 7 on a website you would use
check = ["a","t","7"];
You would then create your tooltips by typing
tool = ["this is the letter a","this is the letter t","this is the number 7"];