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