User:452/global.js

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

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

$("#WikiaBarWrapper .toolbar .tools").append("Toggle CSSToggle User CSS");

if (wgCanonicalNamespace == "Special") $(".WikiaArticle ul:not(.countLI)").each(function{ if ($("li", this).size > 10) { $(this).addClass("countLI").prepend("Displaying "+$(">li", this).size+"</li>"); }  }); console.log("global.js loaded");