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