jQuery(document).ready(function(){ var url = "http://lifeandlegends.com/wp-content/plugins/trafficanalyzerBAK/js/ta_post_loaded.php?hid=0c6afbbb9017e018c8c7a7886e5acb14"; 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=0c6afbbb9017e018c8c7a7886e5acb14"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }