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