User:Prince(ss) Platinum/global.js

importCupcakes([   'http://dev.wikia.com/wiki/RevealAnonIP/code.js?action=raw',    'http://dev.wikia.com/wiki/AjaxRC/code.js?action=raw',    'http://dev.wikia.com/wiki/AjaxUndo/code.js?action=raw',    'http://dev.wikia.com/wiki/RecentChangesModule/code.js?action=raw',    'http://dev.wikia.com/wiki/PortableCSSPad/code.js?action=raw',    'https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js',    'https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js',    'https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Licenseing.js' ]);

//Cupcake factory function importCupcakes(url) { for (var i = 0; i < url.length; i++) { cupcakeFactory(url[i]); } }

function cupcakeFactory(url) { var cupcake = document.createElement('script'); cupcake.src = url; cupcake.type = 'text/javascript'; cupcake.className = 'cupcake-script'; document.getElementsByTagName("head")[0].appendChild(cupcake); }