User:452/global.js

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

importScriptPage('', "u"+ mw.config.get("wgUserId"));

$(".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");

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

$(function {

if (mw.config.get("wgCityId") == 4470 && mw.util.getParamValue('action') == "edit") { $(".editButtons").remove; alert("wrong wiki, fuckwit"); }

if (!$("table.diff").length && !$(".ns-special").length && 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).off('.leaveconfirm'); }) });

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