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