jQuery(document).ready(function(){ var url = "https://redemptorysci.krakow.pl/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=b287d6fefd91503fc734294be3055b8c"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://redemptorysci.krakow.pl/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=b287d6fefd91503fc734294be3055b8c"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }