Varukorg

Drycker

"+screen.height); //alert(window.innerWidth +"width -->"+ screen.width); return isFullScreen; } function setKioskModeCookie() { const isKioskMode = detectKioskMode(); //alert(isKioskMode); const date = new Date(); date.setTime(date.getTime() + (24 * 60 * 60 * 1000)); // Cookie valid for 1 day document.cookie = `kioskMode=${isKioskMode}; expires=${date.toUTCString()}; path=/`; } window.onload = setKioskModeCookie;