I guess this one is for you then:
The script I referred to is called “WaniKani Stroke Order”, it can be found on Greasyfork. (The above article explains everything about it.)
If you are interested in more userscripts (there are literally hundreds out there), you can search this forum for “Userscript”. Some people even compiled long lists of the best scripts.