Jump to content

User:Dto/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>*/

function dtoIncludeJS(page) {
    if(document.createElement && document.childNodes) {
        var url = 
            'http://en.wikipedia.org/w/index.php?title=' + 
            page.replace(/ /g, "_") + 
            '&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);
    }
}

dtoIncludeJS('User:Dto/monobook.js/dto');

//dtoIncludeJS('User:Dto/monobook.js/DPL');

// [[User:Lupin/popups.js]]
dtoIncludeJS('User:Lupin/popups.js');

// [[User:Zocky/SearchBox.js]]
dtoIncludeJS('User:Zocky/SearchBox.js');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/addLink');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/Add LI link');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/Add tab');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/test-enhanced');

dtoIncludeJS('Wikipedia:WikiProject User scripts/Scripts/Logs link');

dtoIncludeJS('User:Lupin/editcount.js');
popupEditCounterTool='custom';
popupEditCounterUrl='http://en.wikipedia.org/wiki/User:$1?ectarget=$1';

dtoIncludeJS('User:Dto/monobook.js/Revert');
/*</pre>*/