News for hackers. Stuff that matters.
Re:The HTML5 boom is coming. Fast by andypants on Tuesday July 26, 2011 @04:05PM (#2809249)
If you write the javascript code inside an anonymous function, outside code by the user can't interact with it.

However, the user can still use javascript to manipulate the dom, and hence the canvas (I think).

There are no comments on this comment yet.