[Greasemonkey] Dynamically loading Prototype

comex comexk at gmail.com
Thu Dec 22 16:12:38 EST 2005


> window.addEventListener("load", loadProto(), false);

As a side note, this probably doesn't do what you wanted it to.  That
calls the loadProto function and tries to add its return value as an
event listener.  You probably meant

> window.addEventListener("load", loadProto, false);

right?


More information about the Greasemonkey mailing list