Thread:KockaAdmiralac/@comment-31984232-20181214195508/@comment-31984232-20190328182015

And yes. It currently is /* Kill Syntax Highlight | By KockaAdmiralac and TheGoldenPatrik1 */ //Automatic for some pages - KockaAdmiralac var syntaxConfig = mw.config.get([   'wgAction',    'wgCityId',    'wgPageName' ]); var killSyntaxHighlight = function(a) { if ((syntaxConfig.wgAction === 'edit' || syntaxConfig.wgAction === 'submit') && a.some(function(page) { return syntaxConfig.wgPageName.indexOf(page) === 0; })) {       var interval = setInterval(function {            if ($('#wpTextbox0').length) {                $('#wpTextbox0').remove;                $('#wpTextbox1').removeClass('highlighted');                clearInterval(interval);            }        }, 1000); }   console.log("KillSyntaxHighlight("+a+"); ran"); } switch (syntaxConfig.wgCityId) { // surviv.io   case '1547755': killSyntaxHighlight(['User:ThePokegeek5000/AppJS']); break; // moomoo.io   case '1542998': killSyntaxHighlight(['User:ThePokegeek5000/bundlejs']); break; default: console.log("KillSyntaxHighlight; was not called"); break; } //Manual - TheGoldenPatrik1 (function {    var action = mw.config.get('wgAction');    if (action!=='edit' && action!=='submit') {return;}    var highlight = true;    var $text0 = $('#wpTextbox0');    var $text1 = $('#wpTextbox1');    function click  {        if (highlight) {            $text0.hide;            $text1.removeClass('highlighted');            $(this).text('Add Syntax Highlight');            highlight = false;        } else {            $text0.show;            $text1.addClass('highlighted');            $(this).text('Remove Syntax Highlight');            highlight = true;        }    }    $('#WikiaBar .toolbar .tools').append( $('').append(           $('', {'text':'Remove Syntax Highlight', 'click':click})        ) ); });

One thing I want is an easy way to input them. switch (syntaxConfig.wgCityId) { // surviv.io   case '1547755': killSyntaxHighlight(['User:ThePokegeek5000/AppJS']); break; // moomoo.io   case '1542998': killSyntaxHighlight(['User:ThePokegeek5000/bundlejs']); break; default: console.log("KillSyntaxHighlight; was not called"); break; } ^ inputs the ones that I want on the wikis they are wanted, and I can pretty easily add a page/wiki to the list (wiki is the hardest).