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