User:MACH-59330/global.js

// global header, based on code from Slyst and Jr Mime globalnavcolor = setInterval(function {   if ($('.global-navigation-container').length) {        $(window).off('scroll');        $(".global-navigation").addClass("inverse");        $('.global-navigation-container').css('background-color', $('.navbackground').css('background-color'));        clearInterval(globalnavcolor);    } }, 150);

// global footer by Slyst and Jr Mime globalfootercolor = setInterval(function {   if ($('.wds-global-footer').length) {        $('.wds-global-footer').css('background-color', $('.navbackground').css('background-color'));        $('.wds-global-footer__fandom-section, .wds-global-footer__wikia-section').css('border-top-color', $('.wds-global-footer__bottom-bar').css('background-color'));        clearInterval(globalfootercolor);    } }, 150);

// dark theme deluminator $(function {   $('.oasis-dark-theme').prevAll("#deluminate_fullscreen_workaround").addClass("inverted"); });