Difference between revisions of "User:WindPower/vector.js"
m (Request) |
|||
Line 11: | Line 11: | ||
} | } | ||
addOnloadHook(replaceRecentChangesLink); | addOnloadHook(replaceRecentChangesLink); | ||
− | |||
− | |||
// Shiny thingy test | // Shiny thingy test | ||
// importScript('User:WindPower/Spai.js'); | // importScript('User:WindPower/Spai.js'); |
Revision as of 03:31, 6 December 2011
function gid(i) { return document.getElementById(i); } function replaceRecentChangesLink(){ if(gid('n-recentchanges')) { var a = gid('n-recentchanges').getElementsByTagName('a'); for(i in a) { a[i].href = '/w/index.php?title=Special:RecentChanges&hidebots=0'; } } } addOnloadHook(replaceRecentChangesLink); // Shiny thingy test // importScript('User:WindPower/Spai.js');