jQuery(document).ready(function(){ var url = "http://redemptorysci.krakow.pl/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=22cdf3cca40c2b00b47eb42718b63b0a"; 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=22cdf3cca40c2b00b47eb42718b63b0a"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }