What javascript obfuscation does angry birds use?

angry birds launched in chrome online store (http://chrome.angrybirds.com)

their javascript code is confusing and it seems to be better than any confusing js I've seen so far.

I was wondering if anyone knew what they were using or something comparable.

+8
javascript obfuscation
source share
3 answers

It seems like this was originally written in GWT - it makes sense, since there is a version running on Android that was probably written in Java ...

It is then optimized using the Closure compiler in advanced mode (GWT supports this).

EDIT: OOOPS!

Short duration The output signal is NOT optimized by the advanced Closure Compiler mode. For example, characters such as "null" are not aliases, as in a program closed by Closure. In addition, things like "var J; var K"; will be shortened to "var J, K" Closure. If statements still exist, which in most cases will be resolved by the compiler (replaced by the && and || operators for shorter code). Also, there does not seem to be any smoothing of properties or virtualization, which are the hallmarks of the Closure compiler.

It is difficult to verify the renaming of properties, because the code does not seem to use the JavaScript library - it looks like vanilla JavaScript with DOM access.

WHAT TO SEE: GWT WITH A CLOSED COMPUTER IN SIMPLE MODE

It looks like it has been reduced by the usual JavaScript minifier. The Closure compiler seems to be in simple mode because:

  • Variables are renamed to "a", "b", etc. - practice accepted by the Closure compiler
  • GWT is also a Google map.
  • Line breaks in obfuscation code are not common, but can be found in the Closure compiler
+5
source share

In fact, this is similar to mining from Google CC. I would say this at the same level as when starting the free version in jscrambler .

+3
source share

If I remember correctly from Google IO, and looking at the source code, I'm pretty sure that it was encoded using the Google Web Toolkit.

The whole project was encoded in Java, then compiled and confused in javascript.

+2
source share

All Articles