Path: blob/main/tests (don't work)/cookie editor
15496 views
localStorage.clear(); function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); } alert("your cookies are: "+document.cookie+""); var edit=prompt("what cookie do you want to edit?"); var value=get_cookie(edit); var newvalue=prompt("what do do want to replace it with?",value); document.cookie=""+edit+"="+newvalue+""; window.location.reload(1);