User:Wyvernoid/monobook.js

function makeSplashEnlargeLink { var oColl = getElementsByClassName(document.getElementById("bodyContent"), "div", "magnify"); for(var i = 0; i < oColl.length; i++) { oColl[i].firstChild.nopopup = true; oColl[i].firstChild.hasPopup = false; oColl[i].firstChild.onclick = function { alert(i); return false; }   } } $(makeSplashEnlargeLink);