I added a setInterval fallback - hopefully this fixes the problem.
Seems to still do nothing. Linux mint Firefox.
Uploaded a new attempt to fix, please try again if you can.