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