User:Daelin/monobook.js
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
// Filter changes live // [[User:Lupin/recent2.js]] - please include this line document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); // Signature fix. // From [[User_talk:Lupin/archive4]] function sigFix () { document.getElementById("toolbar").innerHTML=document.getElementById("toolbar").innerHTML.replace('--~~' + '~~','—[[User:Daelin|Daelin]] @ <tt>{{subst:' + 'CURRENTYEAR}}–{{subst:' + 'CURRENTMONTH}}–{{subst:' + 'Twodigit {{subst:' + 'CURRENTDAY}}}} {{subst:' + 'CURRENTTIME}}Z</tt>'); } function reformatMyPage() { sigFix(); } if (window.addEventListener) window.addEventListener("load",reformatMyPage,false); else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);