If you’re still interested, you could look at existing userscripts to see how they do it.
For example my Phonetic-Semantic Composition one, which does actually use waitForKeyElements().
If you’re still interested, you could look at existing userscripts to see how they do it.
For example my Phonetic-Semantic Composition one, which does actually use waitForKeyElements().