User:Prince(ss) Platinum/global.js

//Helper function wikia { //Adds a style sheet this.css = function (url) { var node = document.createElement("link"); node.rel = url; node.type = "text/css"; document.getElementsByName("head")[0].innerHTML += node; }

//Adds a script page this.javascript = function (url) { var node = document.createElement("script"); node.src = url; node.type = "text/javascript"; document.getElementsByName("head")[0].innerHTML += node; } }

//Initialize helper var wikia = new wikia;

//Variables window.ajaxPages = [ "Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:Contributions", "Special:WikiActivity" ];

//Imports wikia.javascript("https://raw.github.com/PrincessPlatinum/Wikonsole/master/Wikonsole.js"); wikia.javascript("https://raw.github.com/PrincessPlatinum/ChatOptions/master/Options-Menu.js"); wikia.javascript("https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js"); wikia.javascript("https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js"); wikia.javascript("http://dev.wikia.com/wiki/WHAM/code.js?action=raw"); wikia.javascript("http://dev.wikia.com/wiki/AjaxRC/code.js?action=raw"); wikia.javascript("http://dev.wikia.com/wiki/AjaxUndo/code.js?action=raw"); wikia.javascript("http://dev.wikia.com/wiki/RevealAnonIP/code.js?action=raw"); wikia.javascript("http://dev.wikia.com/wiki/PortableCSSPad/code.js?action=raw"); wikia.javascript("http://creepypasta.wikia.com/wiki/MediaWiki:Gadget-HotCat.js?action=raw"); wikia.javascript("http://princess-platinum-test.wikia.com/wiki/MediaWiki:Stuff.js?action=raw"); wikia.javascript("http://community.wikia.com/wiki/User:Prince(ss)_Platinum/ChatRegex.js?action=raw");