User:Daelin/monobook.js

// Filter changes live

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

mw.loader.load(

'https://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'

+ '&action=raw&ctype=text/javascript&dontcountme=s');

// Signature fix.

// From User_talk:Lupin/archive4

function sigFix () {

document.getElementById("toolbar").innerHTML=document.getElementById("toolbar").innerHTML.replace('--~~' + '~~','—Daelin @ {{subst:' + 'CURRENTYEAR}}–{{subst:' + 'CURRENTMONTH}}–{{subst:' + 'Twodigit {{subst:' + 'CURRENTDAY}}}} {{subst:' + 'CURRENTTIME}}Z');

}

function reformatMyPage() {

sigFix();

}

if (window.addEventListener) window.addEventListener("load",reformatMyPage,false);

else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);