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

Any way to make it activate on certain wikis only? Changed the layout to the following, so just some code for

/* Kill Syntax Highlight for certain pages | By KockaAdmiralac */ var killSyntaxHighlight = function(a) { var config = mw.config.get([       'wgAction',        'wgPageName'    ]); if (config.wgAction === 'edit' && a.some(function(page) { return config.wgPageName.indexOf(page) === 0; })) {       var interval = setInterval(function {            if ($('#wpTextbox0').length) {                $('#wpTextbox0').remove;                $('#wpTextbox1').removeClass('highlighted');                console.log('Well, I ran.');                clearInterval(interval);            }        }, 1000); } } killSyntaxHighlight(["User:ThePokegeek5000/AppJS"]);