User:Orsd/sandbox

javascript:void((function {thenum=4; m=0; z=document.getElementById("bodyContent").getElementsByTagName("A"); for (n=0;n<z.length;n++) {if (/\/wiki\//.test(z[n].href)) {m=m+1}; if (m==thenum) {document.location=z[n].href}}}))