User:452/global.js

$("#GlobalNavigation").remove; if (!$("#headerLinks").length) $("#WikiaHeader .start-a-wiki").after('Random WikiRecent Changes');

function toggleCSS { $('link[href*="oasis/site"]').attr( "disabled",function(idx, oldAttr){return !oldAttr;}); } function toggleUserCSS { $("link[rel='stylesheet'][href*="+wgUserName+"]").attr("disabled",function(idx,oldAttr){return!oldAttr;}); }

if (!$("#toggleCSS").length) $("#WikiaBarWrapper .toolbar .tools").append("Toggle CSSToggle User CSS");

if (wgCanonicalNamespace == "Special") $(".WikiaArticle ul:not(.countLI)").each(function{ if ($(">li", this).size != 50 && $(">li", this).size > 15) $(this).addClass("countLI").prepend("Displaying "+$(">li", this).size+"</li>");  });

WikiaBar.show;

console.log("global.js loaded");