Difference between revisions of "User:Pacific Coast Highway/monobook.js"

From YTMND
Jump to: navigation, search
 
Line 1: Line 1:
// [[Wikipedia:User:Lupin/popups.js]]
+
// [http://en.wikipedia.org/wiki/User:Lupin/popups.js]
  
 
document.write('<script type="text/javascript" src="'  
 
document.write('<script type="text/javascript" src="'  

Revision as of 23:04, June 22, 2006

// [http://en.wikipedia.org/wiki/User:Lupin/popups.js]

document.write('<script type="text/javascript" src="' 
             + 'http://www.uncyclopedia.org/index.php?title=User:Nintendorulez/popups.js '
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');








function tabNames() {
    changeTabText('ca-talk',    'flamewar');
    changeTabText('ca-edit',    'vandalize');
    changeTabText('ca-history', 'history');
    changeTabText('ca-delete',  'huff');
    changeTabText('ca-watch',   'stalk');
    changeTabText('ca-move',    'on wheels');
    changeTabText('ca-protect', 'protect');
};

function changeTabText(id, text) {    
    if (document.getElementById(id)) {
       var tabname = document.getElementById(id).firstChild;
       tabname.removeChild(tabname.firstChild);
       tabname.appendChild(document.createTextNode(text))
       return tabname;
    }
};

window.addEventListener('load', tabNames, false);








// Script from [[User:Lupin/recent2.js]]

document.write('<script type="text/javascript" src="' 
             + 'http://www.uncyclopedia.org/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');