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