Discussions » Development

How krunker.io detects Proxy?

§
Posted: 2022.02.25.
Edited: 2022.02.25.

If we will write this:

unsafeWindow.Function = new Proxy(unsafeWindow.Function, {});

the game will not let you in.

There is the empty handler, it can not effect somehow, but the game is not working after that!

We can't check if class/object/function is a proxy, by JavaScript, but krunker do it somehow.

Post reply

Sign in to post a reply.