Using JavaScript to modify and run a function, on the fly.
The original function as activated by a button
Examining the source code
alert(oldbadfunction)
Replace substrings of a function
Click, then examine end of page.
Rewriting and running a function — removing the shell and running the nut
Changing a part of a function, defining it (as "newimproved()", and running the new