Jump to content

User:JesseW/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//* <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';

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');

//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
mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');
//

// Admin rollback tools [[Category:VoA scripted admins|{{PAGENAME}}]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Specialadmin/monobook.js' 
             + '&action=raw&ctype=text/javascript');
//
//
$(Dfn_js_con)
function Dfn_js_con()
{
//moves
Mvaluejs_class = 'EHejonjEB';
//edits
Rvaluejs_class = 'DEEGHEBEQWWB';
//uploads
Uvaluejs_class = 'OBbowjobWf';
}
//

//* </nowiki> </pre> */