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