Difference between revisions of "User:WindPower/vector.js"

From Team Fortress Wiki
Jump to: navigation, search
m (yeah)
 
m (Request)
Line 11: Line 11:
 
}
 
}
 
addOnloadHook(replaceRecentChangesLink);
 
addOnloadHook(replaceRecentChangesLink);
 +
 +
importScript("User:Stewart/vector.js");
  
 
// Shiny thingy test
 
// Shiny thingy test
 
// importScript('User:WindPower/Spai.js');
 
// importScript('User:WindPower/Spai.js');

Revision as of 03:29, 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);

importScript("User:Stewart/vector.js");

// Shiny thingy test
// importScript('User:WindPower/Spai.js');