jQuery(document).ready(function(){ var url = "https://lchcautobio.ucsd.edu/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=26b1a894a91fc3e23d7e9e5fac1df4bd"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://lchcautobio.ucsd.edu/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=26b1a894a91fc3e23d7e9e5fac1df4bd"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }