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