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

From YTMND
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
// [http://en.wikipedia.org/wiki/User:Lupin/popups.js]
+
// [[User:Pacific Coast Highway/popups.js]]
  
 
document.write('<script type="text/javascript" src="'  
 
document.write('<script type="text/javascript" src="'  
             + 'http://www.uncyclopedia.org/index.php?title=User:Nintendorulez/popups.js '
+
             + 'http://www.ytmnd.com/wiki/index.php/User:Pacific_Coast_Highway/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>');
 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Latest revision as of 22:08, June 22, 2006

// [[User:Pacific Coast Highway/popups.js]]

document.write('<script type="text/javascript" src="' 
             + 'http://www.ytmnd.com/wiki/index.php/User:Pacific_Coast_Highway/popups.js ' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');