Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fun fact: if you're in chrome, enter ctrl+shift+j. When javascript console enters you can play with it.

Try entering player.energy = 100000 :)



This was one the of things that I worked on to avoid, when building Pixza (pixza.com) a HTML4/5+JS+Erlang MMO game. I wrote a script to obfuscate all the JS object and member names to random strings before deploying the code.


Very interesting. I guess this is always a risk when writing javascript. good mitigation though.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: