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