User:Ultimate Dark Carnage/common.js

(function($, mw){   if (mw.config.get('skin') == "oasis" || mw.config.get('skin') == "wikia"){        $('nav.global-navigation').find('.AccountNavigation .subnav li:last').after( $(' ').html('Monobook'), $(' ').html('Mobile'), $(' ').html('MediaWiki Sources'), $(' ').html('Remove Site CSS'), $(' ').html('Remove Site JavaScript') );   }    else if (mw.config.get('skin') == "monobook"){        mw.util.addPortletLink( 'p-tb', '?useskin=oasis', 'Oasis', 'ca-oasis', 'Go to Oasis' );   } })(jQuery, mediaWiki);

$(function init{   if (mw.config.get('skin').match(/monobook/gi)){        // /* play hide and seek with possibly unused CSS selectors */ (function  { 'use strict'; function hideAndSeek { var selectorsToFind = [ '.vector-cactions', '#delete-dropdown', //'.dropdown', // used on RecentChanges namespace selector '.ca-dropdown', '.d-dropdown', '.dropdownn', '#spotlight_container' ];   selectorsToFind.forEach(function (selector) {      if ($(selector).length !== 0) {        console.info('Pseudo-Vector> selector "' + selector + '" found: ', $(selector));        alert('Pseudo-Vector> selector "' + selector + '" found - check console for details');      }    }); } window.setTimeout(hideAndSeek, 5000); });   } });