I made a skulpt project for my students. Every time they made an infinite loop, the browser crashes and the code is gone. That is very frustrating for the students. I saw a stop button on https://trinket.io/python, but don't understand how they made it. I followed the instructions on http://www.skulpt.org/ to integrate skulpt in my site.
Any ideas?