Jump to content

User:Bencherlite/monobook.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
function addUnwatch() { //adds 'unwatch' links in watchlist
   if (window.location.href.indexOf("Special:Watchlist")!=-1) {
      //correct page, so retrieve watchlist items
      var items=document.getElementById('bodyContent').getElementsByTagName('li');
      for (var i=0;i<items.length;i++) {
            //what is the title of this page?
            pagename=items[i].getElementsByTagName('a')[0].title;
            //create 'unwatch' element
            unwatchelt=document.createElement('a');
            unwatchelt.setAttribute('href','/w/index.php?title='+pagename+'&action=unwatch');
            unwatchelt.setAttribute('title','Unwatch '+pagename);
            unwatchelt.appendChild(document.createTextNode('(unwatch)'));
            //add the 'unwatch' element
            items[i].appendChild(unwatchelt);
      }
    }
}

// CSD AutoReason
importScript('User:AuburnPilot/csd.js');

importScript('User:The wub/CloseCFD.js');


importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript('User:TheDJ/Gadget-HotCat.js');

showbydefault = true;

importScript('User:Splarka/dabfinder.js');

importScript('User:Cameltrader/Advisor.js');

importScript('User:Smith609/toolbox.js');

importScript('User:Plastikspork/monobook.js/script.js');

importScript('User:Ameliorate!/dykeasymode.js'); // [[User:Ameliorate!/dykeasymode.js]]

importScript("User:GregU/dashes.js");

// [[User:Krimpet/CH2.js]]
importScript('User:Krimpet/CH2.js');


importScript('User:Anomie/util.js');
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]

importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]

importScript('user:js/watchlist.js');

importScript('User:Doug/closemfd.js');

importScript('User:Splarka/ajaxbatchdelete.js');

///////////////////////////////////////////////////
// START I want my Orange Bar                    //
///////////////////////////////////////////////////
 
importScript('User:Writ Keeper/Scripts/orangeBar.js'); // Linkback: [[User:Writ Keeper/Scripts/orangeBar.js]]
 
///////////////////////////////////////////////////
// END I want my Orange Bar                      //
///////////////////////////////////////////////////