User:Gerbrant/alternativeOnloadHook.js

module("Gerbrant.alternativeOnloadHook", new function {	this.standard = addOnloadHook;

this.alternative = function(fn) {		hookEvent("load", fn); };

addOnloadHook = this.alternative; });