Friday, November 30, 2012

Re: prefix on obfuscated function names

There is a simple way: rewrite the name obfuscator class of GWT compiler and recompile it. I just do it and it works.

On Thursday, November 29, 2012 3:41:41 PM UTC-5, Gasotelo wrote:

We have a project on GWT and our production version have been compiled on obfuscated mode for security reasons. The application works fine, except when a browser plugin inserts javascript on the page, because some plugins have functions with obfuscated names, like aa, ab, xv, zf, etc...

We wonder if there is a way to tell GWT compiler to add a prefix to all javascript obfuscated functions, so the functions get names like cccab, ccczf, cccaa, etc.

It is not possible to tell all users to remove their plugins to use our page.

Thanks a lot.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zb63-KZci5sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment