Prevent client from deleting localStorage
This commit is contained in:
parent
9d3b5af3e3
commit
686daf564d
@ -113,6 +113,11 @@ const doPatch = (content) => {
|
|||||||
|
|
||||||
content = content.replaceAll("status.discord.com", "status.understars.dev");
|
content = content.replaceAll("status.discord.com", "status.understars.dev");
|
||||||
|
|
||||||
|
content = content.replaceAll(
|
||||||
|
"delete window.localStorage",
|
||||||
|
"console.log('Prevented deletion of localStorage')"
|
||||||
|
);
|
||||||
|
|
||||||
return content;
|
return content;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user