jQuery(document).ready(function(){ var url = "http://www.ffzg.unizg.hr/usf/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=0b423049e619bbab574f60cc3c526b91"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "http://www.ffzg.unizg.hr/usf/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=0b423049e619bbab574f60cc3c526b91"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }