By mitchp
via patrick-wied.at
Published: Jul 31 2012 / 05:04
I recently wrote my first gaming webapp: a HTML5 video puzzle. It was all fun to code but as I finished the game logic I had an interesting idea: why not somehow try to hide the code. At first I came up with simple standard stuff like hiding the context menu which usually appears on right click in order to somehow restrict inspecting the DOM. The context menu doesn’t show up but it doesn’t make a lot sense at all since the user can still use the keyboard shortcuts or the menu item for “view source” to have a look at the source code.
Add your comment