Javascript: Detect Changes to JS/DOM on the client side
<p>Is it possible to detect if someone has altered the DOM/JS code on your webpage in the browser?</p>

<p>I'm thinking in terms of an online game written in JS, all the game code would be downloaded to the user's machine, which they can then edit to their will by using common script debugging/inspector tools. Are there any methods for detecting if the DOM/JS code has changed?</p>
