MediaWiki:IRC.js

/* IRC webchat */ function onloadhookcustom { var replace = document.getElementById("chat"); if (null != replace) { replace.innerHTML=' '; if (window.attachEvent) window.attachEvent("onbeforeunload",confirmexitjrchat); else window.onbeforeunload = confirmexitjrchat; } //alert(document.getElementById("chat").innerHTML); }