jQuery(document).ready(function(){ var url = "http://valkunas.ftmc.lt/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=435317cb5cbf7d56296cd8c9f968fb3a&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "http://valkunas.ftmc.lt/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=435317cb5cbf7d56296cd8c9f968fb3a&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }