News for hackers. Stuff that matters.
Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati... by Gaelan on Friday August 14, 2020 @08:59PM (#24165029)
Here's a quick deobfuscated version (pretty printed, renamed variables, converted foo && (bar(), baz()) to if(foo) {bar(); baz()}).

https://gist.github.com/Gaelan/a0c5461055437dca9618a12f68949...

Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati... by Gaelan on Friday August 14, 2020 @09:07PM (#24165073)
Edit: after I did that, I discovered jsnice.org, which managed to do all the deobfuscation I did (including inferring variable names from usage!) automatically. I'm very impressed. I replaced the gist above with the JSNice output.
Re:JavaScript Code Plays Google Dinosaur/T-Rex Game Automati... by truly_furqan on Sunday August 16, 2020 @06:02AM (#24176569)
That's cool. I appreciate that.