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