Jump to content

Javascript Obfuscation


tackle
 Share

Recommended Posts

Security through obfuscation is no real security. We all know this.

Personally I believe that some hinderance to a potential code-thief could worth a few minutes effort of setting up.

 

So I'm looking at my own situation. Me and my team is about to release a game. If possible, we'd like to protect a bit more than having the raw source out there.

Whether or not that is an issue is not a discussion I aim for with this topic.

 

A simple minification with uglifyjs renders JavaScript that, when run through a beautifier, is very close to the source. That leaves you with code that is good for the player — shorter download, yay! — but doesn't really protect you in any sense.

 

I've seen many HTML5 games which have been thoroughly obfuscated where beautifying doesn't help at all really. Granted, it's not a full protection but I think it's good enough to deter simpler code thiefs.

 

How do you do your code obfuscation? Maybe I'm doing mine wrong but my code looks almost identical after being run through uglifyjs for example.

I know there's the paid version JScrambler, and Game Maker does something to its HTML5 output, but I'm curious if there's more options out there that I can't find.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...