User:JesseW/monobook.js

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.

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.
//* <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> */