User:Pacific Coast Highway/monobook.js

From YTMND
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
// [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>');