mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
Prevent client from deleting localStorage
This commit is contained in:
1 file changed
+5
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user