User:Mac Davis/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.
document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject User scripts/Scripts/Revert tools&action=raw&ctype=text/javascript&dontcountme=s"></script>') // Script from [[Revert tools.js]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=Revert tools.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>'); popupThumbAction="sizetoggle"; popupRedlinkRemoval=true; popupFixDabs=true; popupStructure='original'; // Script from [[User talk:Howcheng/quickimgdelete.js]] importScript('User talk:Howcheng/quickimgdelete.js'); //[[User talk:Howcheng/quickimgdelete.js]] /**** afd helper ****/ document.write('<script type="text/javascript"' + 'src="http://en.wikipedia.org/w/index.php?title=User:Jnothman/afd_helper/' + 'script.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); /* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */ // Script from [[User:MarkS/extraeditbuttons.js]] XEBOrder='8,D,C,D1,F,U,S,I1,I2,J1,E,G,Q,K,L,M,H,O,R,V,AI,GEO'; rmEditButtons=['all']; importScript('User:MarkS/extraeditbuttons.js'); // VIEW SOURCE addOnloadHook(function () { if (location.href.indexOf('viewsource=1') != -1) { sl = document.getElementById('wpSummaryLabel'); sl.parentNode.removeChild(sl); ed = document.getElementById('wpSummary').parentNode; ed.parentNode.removeChild(ed); return; } editbutton = document.getElementById('ca-edit'); if (editbutton && location.href.indexOf('action=edit')==-1) { editlink = editbutton.getElementsByTagName('a')[0].href + '&viewsource=1'; tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; na = document.createElement('a'); na.href = editlink; na.appendChild(document.createTextNode('view source')); li = document.createElement('li'); li.id = 'ca-viewsource'; li.appendChild(na); tabs.insertBefore(li,editbutton); } }); addOnloadHook(function() { if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1) //no subpages or history return; if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") { var username = encodeURIComponent( wgTitle ); addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions"); addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "Edit count", "ca-editcount", "Edit count from Interiot's Tool1"); addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user"); addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Blocks received", "ca-blog", "Blocks received by this user"); addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Prefixindex&from=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace"); } }); /**** welcome new user ****/ document.write('<script type="text/javascript"' + 'src="http://en.wikipedia.org/w/index.php?title=User:Nmajdan/welcome_newuser.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Script from [[Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js]] importScript('Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js'); //[[Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js]] // Script from [[Wikipedia:WikiProject User scripts/Scripts/Quick wikify]] importScript('Wikipedia:WikiProject User scripts/Scripts/Quick wikify'); //[[Wikipedia:WikiProject User scripts/Scripts/Quick wikify]] // Script from [[User:Razorclaw/orphan.js]] importScript('User:Razorclaw/orphan.js'); //[[User:Razorclaw/orphan.js]] // Script from [[User:Omegatron/monobook.js/unverified.js]] importScript('User:Omegatron/monobook.js/unverified.js'); //[[User:Omegatron/monobook.js/unverified.js]] importScript('User:Alex_Smotrov/qpreview.js');