User:Sunny00217/global.js

$(document).ready(function{ var loadjs_i = function(hosturl, page){   	return $.ajax( { url: hosturl + '/w/index.php', dataType: 'script', data: { title: page, action: 'raw', ctype: 'text/javascript' }		} ); }; var loadcss_i = function(hosturl, page){	$('head').after($(' ').append('@import url("' + hosturl + '/w/index.php?title=' + page + '&action=raw&ctype=text/css");')); }; loadjs_i( '//meta.wikimedia.org/', 'User:Sunny00217/global.js' ); window.index = '/wiki/'; loadcss_i( '//meta.wikimedia.org/', 'User:Sunny00217/global.css' ); })(jQuery);