User:452/global.js

importArticles({ type: 'script', articles: 'u:452:user:452/452' });

$(".wds-community-header .wds-dropdown__content, .wds-community-header .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2 .wds-dropdown-level-2__content").css("background-color", $(".wds-community-header").css("background-color")); $(".wds-community-header .wds-dropdown__content .wds-list.wds-is-linked li > a").css("color", $(".wds-community-header .wds-community-header__sitename a").css("color"));

$(".wds-button").removeClass("wds-button").addClass("wikia-button");

$('#Bullshit').html('This JavaScript stuff is cool!'); //Disproves false statement: http://community.wikia.com/wiki/Thread:1046047 console.log("If the previous line 'breaks' javascript, then this line won't show in the console.")

$(function { if (!$("table.diff").size && !$(".ns-special").size && typeof wgIsEditPage == "undefined" && mw.util.getParamValue('action') != "edit" && mw.util.getParamValue('action') != "submit" && wgPageName != "Special:CreateBlogPage" && wgNamespaceNumber < 1200) {                                                                                                                                 $(".WikiaArticle *:contains('Fandom')").each(function  { $(this).html($(this).html.replace(/FANDOM/ig,"CANCER")); }); } });

$(".wds-global-navigation__logo-wikia-caption").html("The home of \"Move on\""); /* As this is Wikia's de facto slogan, it deservers prominent placement */

$(function { /* disabling tracking which is slowing down every page submit */ $("#editform").off("submit").on("submit", function { $(window).unbind('.leaveconfirm'); }) });