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