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