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