Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
You need to throw exception when command executed or block any console input.
Just search in Google "js disable console".
I've found that:
https://www.queness.com/post/16151/disable-javascript-console-in-browsers