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