// Simulate a mouse click: window.location.href = "http://www.pizzrija-dimnik.si"; // Simulate an HTTP redirect: window.location.replace("http://www.pizzerija-dimnik.si");