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