User:ToaMeiko-fduser/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

importScriptPage('MediaWiki:Chat.js/options.js','cod');

/* Add Editcount tab on all user pages and user talk pages */ $(function {   var wikiUrl = window.location.hostname;    var olds = $(".tabs-container > ul.tabs").html;    var address = "http://" + wikiUrl + "/wiki/Special:Editcount/" + wgTitle;    var adds = "Editcount";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); });

/* Add contributions link to the user dropdown on the Wikia bar */ /* DISABLED UNTIL FIXED */ //$(function { //   var wikiUrl = window.location.hostname; //    var olddrop = $("#AccountNavigation li > ul.subnav.WikiaMenuElement").html; //    var addressDrop = "http://" + wikiUrl + "/wiki/Special:Special:Contributions/" + wgUserName; //    var adddrop = "My contributions"; //    var newdrop = olddrop + adddrop; //    $("ul.subnav.WikiaMenuElement").html(newdrop); //});