Why doesn’t document.addEventListener(‘load’, function) work in a greasemonkey script?

Apparently, document.addEventListener() is unreliable, and hence, my error. Use window.addEventListener() with the same parameters, instead.

Leave a Comment