<!DOCTYPE html>
<html>
<head>
<title>Reset Wonderland Account (Dev Tool)</title>
<meta charset="UTF-8">
<style>
body {
background-color: #000000;
color: #00FF00;
font-family: monospace;
padding: 20px;
}
.box {
border: 2px solid #00FF00;
padding: 20px;
max-width: 500px;
margin: 100px auto;
background-color: #111;
}
button {
background-color: #222;
color: #00FF00;
border: 2px solid #00FF00;
padding: 8px 12px;
font-family: monospace;
font-weight: bold;
cursor: pointer;
}
#output {
margin-top: 20px;
white-space: pre-wrap;
}
</style>
</head>
<body>
<div class="box">
<h2>🛠Wonderland Dev Tool</h2>
<p>This will reset the local account stored in localStorage.</p>
<button onclick="resetAccount()">Reset Account</button>
<div id="output"></div>
</div>
<script>
function resetAccount() {
if (localStorage.getItem("wonderland_account")) {
localStorage.removeItem("wonderland_account");
document.getElementById("output").innerText = "[OK] Account data cleared.";
} else {
document.getElementById("output").innerText = "[INFO] No account data found.";
}
}
</script>
</body>
</html>
0 comments