Comment Comment by EGreg Why not make their javascript run in WebWorkers and provide a DOM-like interface for all the things? That way you can kill infinite loops etc. parent EGreg 9 years ago