User:Maththunder/wikia.js

var globalJSArticles; try { globalJSArticles = JSON.parse(sessionStorage.getItem("globalJSArticles")); } catch (e) { globalJSArticles = null; } if (!jQuery.isArray(globalJSArticles)) { globalJSArticles = [ "u:dev:PortableCSSPad/code.js", "u:wikimarks:Client.js", "u:dev:HideRail/code.js", 'u:sonako:MediaWiki:Wikia.js/mudim.js', 'u:sonako:MediaWiki:Facebook.js', 'u:sonako:MediaWiki:SexyUserPage.js', 'u:sonako:MediaWiki:GlobalNavFix.js', 'u:sonako:MediaWiki:Common.js/socialmedia.js', 'u:sonako:MediaWiki:Wikia.js/ChangeTextSize.js', 'u:admintools:MediaWiki:Common.js/CEB.js' ]; } console.log("globalJSArticles =", globalJSArticles); console.log("\nglobalJSArticles.splice(4, 1); sessionStorage.setItem(\"globalJSArticles\", JSON.stringify(globalJSArticles)); window.location.reload;\n\nsessionStorage.removeItem(\"globalJSArticles\"); window.location.reload;\n"); // Load all scripts with importArticles // http://help.wikia.com/wiki/Help:Including_additional_JavaScript_and_CSS importArticles({	type: 'script',	articles: globalJSArticles }); /* */