User:Bwyard/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
// Script from [[User:Lupin/recent2.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');
//<nowiki> Admin-like RC Patrol tools
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:VoA/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//</nowiki>[[Category:Wikipedians who use RC script ]]
 
// [[User:Lupin/popups.js]]
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// [[User:Lupin/popups.js]]
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 // Script from [[User:Lupin/popupsdev.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popupsdev.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');
 
 
// [[User:Lupin/popups.js]]
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
popupDelay=0.01;
popupHideDelay=7;
popupRedlinkRemoval=true;
simplePopups=false;
popupHistoryPreviewLimit=25;
popupThumbAction="sizetoggle";
popupStructure='fancy2';
popupActionsMenu=false;
popupSubpopups=true;
popupLastEditLink=true;
popupFixRedirs=true;
popupWatchRedirredPages=true;
popupRedirAutoClick='wpDiff';
popupShortcutKeys=true;
 
function import_module(page){
    if( document.createElement && document.childNodes ) {
        var url = 
            'http://en.wikipedia.org/w/index.php?title=' + 
            escape(page) + 
            '&action=raw&ctype=text/javascript&dontcountme=s';
        var scriptElem = document.createElement('script');
        scriptElem.setAttribute('src', url);
        scriptElem.setAttribute('type', 'text/javascript');
        document.getElementsByTagName('head')[0].appendChild(scriptElem);
    }
}
import_module('Wikipedia:WikiProject User scripts/Scripts/addLink');
// Script from [[Duplicate tabs at bottom.js ]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=Duplicate tabs at bottom.js ' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>'); 
import_module('Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs');
import_module('Wikipedia:WikiProject User scripts/Scripts/Add LI link');
import_module('Wikipedia:WikiProject User scripts/Scripts/Add toolbox link');
import_module('Wikipedia:WikiProject User scripts/Scripts/Add tab');
import_module('Wikipedia:WikiProject User scripts/Scripts/User tabs');
import_module('Wikipedia:WikiProject User scripts/Scripts/View source');
import_module('Wikipedia:WikiProject User scripts/Scripts/Quick wikify');
import_module('Wikipedia:WikiProject User scripts/Scripts/Revert tools');
import_module('Wikipedia:WikiProject User scripts/Scripts/Show last diff');
import_module('Wikipedia:WikiProject User scripts/Scripts/Unwatch');
import_module('Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js');
import_module('Wikipedia:WikiProject User scripts/Scripts/Get user name');
import_module('Wikipedia:WikiProject User scripts/Scripts/Get Page Name');
import_module('Wikipedia:WikiProject User scripts/Scripts/Replace');
import_module('Wikipedia:WikiProject User scripts/Scripts/Sigdash');
import_module('Wikipedia:WikiProject User scripts/Scripts/Easy db');
import_module('Wikipedia:WikiProject User scripts/Scripts/afd helper');
import_module('Wikipedia:WikiProject User scripts/Scripts/AutoAFD.js');
import_module('Wikipedia:WikiProject User scripts/Scripts/Formatter');
import_module('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');
import_module('Wikipedia:WikiProject User scripts/Scripts/Logs link');
import_module('Wikipedia:WikiProject User scripts/Scripts/RBL check');
import_module('Wikipedia:WikiProject User scripts/Scripts/WP cactions');
import_module('Wikipedia:WikiProject User scripts/Scripts/AIV helper');
import_module('Wikipedia:WikiProject User scripts/Scripts/Watchfilter');
import_module('Wikipedia:WikiProject User scripts/Scripts/External editor');
// A small piece of JS writen by [[User:MatthewFenton]], This is my first piece of JS.
function welcome() {
  if (document.title.indexOf('Editing User talk:') == 0) {
    document.editform.wpTextbox1.value = document.editform.wpTextbox1.value + '==' + 'Welcome' + '==\n' + '{{subst:User:' + 'MatthewFenton/Welcome}}\n~~' + '~~';
    document.editform.wpSummary.value = 'Welcome a user to Wikipedia using JS WW';
  }
}
function welcome_tab() {
  add_link('javascript:welcome()', 'Welcome');
}
 
if (document.title.indexOf('Editing User talk:') == 0) {
  addOnloadHook(welcome_tab);
}