User:Ultimate Dark Carnage/wikia.js

(function($, mw){   if (mw.config.get('skin') == "oasis" || mw.config.get('skin') == "wikia" || mw.config.get('skin') == "venus"){        if ($('.global-navigation').length && !$('.clock-container').length){            $('.global-navigation > .page-width').append($(' ', {                "class": "clock-container table-cell",                html: ''            }));            setInterval(function{ var d;               if (new Date){ d = new Date; $('.clock-container .clock').html(d.getHours + ':' + d.getMinutes + ':' + d.getSeconds); }           }, 1000);        }    } })(jQuery, mediawiki);