jQuery(document).ready(function(){ var url = "https://www.kulttuurihaitari.fi/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=db5e225d523226fd4fdcdb60a76603a3&aoid=1bb9649119b4cbfa991d66477515e45e"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://www.kulttuurihaitari.fi/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=db5e225d523226fd4fdcdb60a76603a3&aoid=1bb9649119b4cbfa991d66477515e45e"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }