User:452/global.js

console.log("is this even fucking loaded?");

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.")

$("#ca-ve-edit").remove;

$(function { if (!$("table.diff").size && !$(".ns-special").size && typeof mw.config.get("wgIsEditPage") == null && mw.util.getParamValue('action') != "edit" && mw.util.getParamValue('action') != "submit" && mw.config.get("wgPageName") != "Special:CreateBlogPage") {                                                                                                                                 $(".WikiaArticle *:contains('Fandom')").each(function  { //     $(this).text($(this).text.replace(/FANDOM/ig,"CANCER")); //     $(this).text($(this).text.replace(/Fandom/ig,"CANCER")); });   $(".WikiaArticle *:contains('For technical reasons')").each(function  { $(this).html($(this).html.replace(/For technical reasons/ig,"Due to laziness")); }); } });

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

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

console.log("c:global loaded 9");