sS hJsMakeCookie() { ret hjavascript([[ var cookie = localStorage.getItem('cookie'); var urlParams = new URLSearchParams(window.location.search); console.log("cookie 1: " + cookie); if (!cookie) { cookie = Math.random().toString(36).substr(2, 9); localStorage.setItem('cookie', cookie); console.log("cookie 2: " + cookie); } ]]); }