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