User:Phroziac/monobook.js

// add "favourites" to navigation box function addToNav { var lastnav = document.getElementById('n-sitesupport'); var newnav; var newa;

newnav = document.createElement('li'); newa = document.createElement('a'); newa.href='/wiki/Wiktionary:Requested_articles'; newa.appendChild(document.createTextNode('Requests')); newnav.appendChild(newa);

newnav.appendChild(document.createTextNode(' '));

newa = document.createElement('a'); newa.href='/wiki/Category:Requested_articles'; newa.appendChild(document.createTextNode('(cat)')); newnav.appendChild(newa);

lastnav.parentNode.appendChild(newnav); }

function reformatMyPage { addToNav; } var hack = 'failed'; var hack_articletitle =''; if (window.addEventListener) window.addEventListener("load",reformatMyPage,false); else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);

// User:Lupin/popups.js - please include this line

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

// delay in seconds before popup appears popupDelay=0.4; // move default titles into popups so they don't interfere removeTitles=true;