Evalbox

A toy demonstration of sandboxing. Type some JavaScript into the field below; clicking one of the two buttons will run the code through eval() in an iframe. The difference between the sandboxed and unsandboxed versions should quickly become apparent: