MediaWiki:ChatRefresh/code.js

/* ChatRefresh

By IAmAPersson ( http://community.wikia.com/wiki/User:IAmAPersson ) Original release date: January 20, 2014



if (refreshTime == 0) {   var refreshTime = 300000 }

if (wgCanonicalSpecialPageName == 'Chat') {   setInterval(    function    {        active.clearWindow;    }   , refreshTime    ); }