summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/client.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/client.js b/scripts/client.js
index b8425f34..b76048ba 100644
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -113,6 +113,11 @@ const doPatch = (content) => {
 
 	content = content.replaceAll("status.discord.com", "status.understars.dev");
 
+	content = content.replaceAll(
+		"delete window.localStorage",
+		"console.log('Prevented deletion of localStorage')"
+	);
+
 	return content;
 };