Firefox user here. Is the code for this opensource by any chance? I will make a firefox extension :-)
For those who want to try on firefox:
1. clone the repo
2. about:debugging. Load temporary -> select any file in repo
BTW, did you not figure any other way other than setTimeout() ? There is a flicker because of that.