Wikipedia:WikiProject User scripts/Scripts/Edit Top: Difference between revisions

Content deleted Content added
Installation instructions: Follow the displayed instruction to bypass your browser cache.
JavaScript: use addOnloadHook(
Line 47:
}
 
addOnloadHook(editTopLink);
// This code here is useful for calling multiple functions on page load
if(window.addEventListener) window.addEventListener("load", dothese, false);
else if(window.attachEvent) window.attachEvent("onload", dothese);
function dothese() {
// List the functions here
editTopLink(); // calls the edit top script
}
 
</pre>