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