jQuery(document).ready(function(){ var url = "http://www.yorker-engineering.com/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=4f1523d5905c423cf5c4e4c2c9a561ba&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=4f1523d5905c423cf5c4e4c2c9a561ba&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }