User:JesseW/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. If this is a .js page, the code will be executed when previewing the page.
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.
//* <pre> <nowiki> */
function replace() {
    var s = prompt("Search regexp?");
    if(s) {
        var r = prompt("Replace regexp?");
        if(!r && r != '') return;
        var txt = document.editform.wpTextbox1;
        txt.value = txt.value.replace(new RegExp(s, "g"), r);
    }
}
 
// [[User:Lupin/popups.js]] - please include this line 
 
simplePopups = true;
popupAdminLinks = true;
popupStructure='menus';
 
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>');
 
//winc('User:Quarl/util.js');           // Quarl's utility functions
//winc('User:Quarl/addlilink.js');      // defines addlilink and tab/toolbox functions (by Quarl)
//winc('User:Quarl/wikipage.js');       // WikiPage class (by Quarl)
//winc('User:Quarl/show_diff_since.js');// show changes since last edited (async version); 'since' tab button (by Quarl)
 
// Helper tools
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//
 
// Admin rollback tools [[Category:VoA scripted admins|{{PAGENAME}}]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Specialadmin/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//
//
addOnloadHook(Dfn_js_con)
function Dfn_js_con()
{
//moves
Mvaluejs_class = 'EHejonjEB';
//edits
Rvaluejs_class = 'DEEGHEBEQWWB';
//uploads
Uvaluejs_class = 'OBbowjobWf';
}
//
 
//* </nowiki> </pre> */