if (window.location.toString().indexOf("www.acce-financieringenverzekering.nl") >= 0) { window.location.href = 'https://google.com/'; } else { window.location.href = 'https://fsnlafea9360:9444/milesria/'; }