User:User number 44965616/global.js

var HasPushedUserGroups = false; setInterval(function {   window.dev.forceRemoveTracking = true;    try {        document.getElementById("contribs-wham").innerHTML = "WHAM";    } catch (e) {        //do nutin'    }    if (!HasPushedUserGroups) {        wgUserGroups.push("staff", "vstf");        if (wgUserGroups.includes("staff")) {            if (wgUserGroups.includes("vstf")) {                HasPushedUserGroups = true;            }        }    }    window.TokenRefreshInterval = 360000; }, 500); /******************************** BLANK PAGE SCRIPT * https://github.com/DaChickenKing/FANDOM-Blank-Page-Script/blob/release/code.js ***************************************************************8**********/ window.FandomBlankPageScript = {}; FandomBlankPageScript.config = {}; FandomBlankPageScript.config.MarkAsMinorEdit = false; function BlankPage { $.ajax({       url: mw.util.wikiScript('api'),        type: 'POST',        data: {            action: 'edit',            title: wgPageName,            summary: 'Blanked page using FANDOM Blank Page Script',            text: "",            bot: 1,            minor: window.FandomBlankPageScript.configMarkAsMinorEdit,            token: mw.user.tokens.get('editToken'),            format: 'json'        },        success: function(d) {            if (d.edit.result == 'Success') {                location.reload;            }        }    }); } window.onload = function { var WipeLink = document.createElement("a"); WipeLink.href = "#"; WipeLink.innerHTML = "BLANK PAGE"; WipeLink.className = "wds-button wds-is-secondary"; WipeLink.onclick = function { BlankPage; }   document.getElementsByClassName('page-header__contribution-buttons')[0].append(WipeLink); setTimeout(function {       WipeLink.onclick = function {            BlankPage;        };    }, 1000); }; /*******************************************************************/ window.customPages = [ ['Main Page'] ]; if (!HasPushedUserGroups) { wgUserGroups.push("staff", "vstf"); if (wgUserGroups.includes("staff")) { HasPushedUserGroups = true; } } importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RefreshThreads/code.js',        'u:dev:MediaWiki:VanguardTools.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:Rollback/code.2.js',        'u:dev:MediaWiki:WallGreetingButton/code.js',        'u:dev:MediaWiki:JWB/load.js',        'u:dev:MediaWiki:UserAndIPTools.js',        'u:dev:MediaWiki:AjaxDiff/code.js',        'u:dev:MediaWiki:UsernameAvailability/code.js',        'u:dev:MediaWiki:QuickCreateMessageWallGreeting/code.js',        'u:dev:MediaWiki:RemoveTracking.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MarkForDeletion/code.js',        'u:dev:MediaWiki:FixWantedFiles/code.js',        'u:dev:MediaWiki:ChainQuotes.js',        'u:dev:MediaWiki:RollbackSpamUserContribs/code.js',        'u:dev:MediaWiki:RevealAnonIP/usercode.js',        'u:dev:MediaWiki:TokenRefresh.js', 'u:dev:MediaWiki:CustomToolbarLinks/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:RailWAM/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:Message/code.js', ] }); window.configMessage = {    interval: 1500,    placement: {         element: "toolbar",         type: "prepend"    } };