User:Captscurvy/global.js

$(function ($) {	"use strict";	$('.wikia-menu-button a, .editsection a').each(function { var $this = $(this), href = $this.attr('href'); if (href.indexOf('action=edit') !== -1 && href.indexOf('useeditor=source') === -1) { $this.attr('href', (href + '&useeditor=source')); }	}); }); PurgeButtonText = 'Purge'; var Start = 0; var Speed = 0; var ToggleFading = 0; importArticles({   type: 'script',    articles: [        'w:c:wikimarks:Client.js',        'w:c:dev:AjaxBatchDelete/code.js',        'w:c:dev:RevealAnonIP/usercode.js',        'w:c:dev:BackToTopButton/code.js',        'w:c:dev:VisualSpellCheck/code.js',        'w:c:dev:AllPagesHideRedirect/code.js',        'w:c:dev:View_Source/code.js',        "w:c:dev:FileUsageAuto-update/code.js",        'w:c:dev:SearchSuggest/code.js',        'w:c:dev:PurgeButton/code.js',        'w:c:dev:ReferencePopups/custom.js',        'w:c:dev:PortableCSSPad/code.js',        'w:c:dev:HideRail/code.js',        'w:c:captscurvy:User:Captscurvy/common.js'    ] });