I was wondering is there a way to check if a line of JavaScript code was ran in the browser that could cause an issue for the user if they left their pc and someone wanted to run a piece of code say xor.decode(password)
and then prevent that from happening by killing that request and send a funny message in the console like jajajaja you tried, L bozo!
;
Yes I'm trying to encrypt a password on the users end but I am sadly using xor
because I can't setup a node server for my project, for now of course later (although this is just a stupid web os security isn't really needed since I hope users aren't signing into stuff on this), I can add that and increase security) at the moment so using a better encryption tool with say npm is out of the equation