jQuery(document).ready(function(){ var url = "http://lifeandlegends.com/wp-content/plugins/trafficanalyzerBAK/js/ta_post_loaded.php?hid=ec7aecea15abd47c5c0c349bfba14ac2"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "http://lifeandlegends.com/wp-content/plugins/trafficanalyzerBAK/js/ta_post_loaded.php?hid=ec7aecea15abd47c5c0c349bfba14ac2"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }