3 ms·
Lol It's going crazy there!
by munirusman 11y ago
Lol It's going crazy there!
- it_learnses 11y agoyeah we were making a shared todo list and somebody came in just killed it. I cant load the page anymore. good times :)
- munirusman 11y agoIt's up again!
- asadlionpk 11y agosomebody did while(true) in that html. Crashing everyone's browsers.
- afgho 11y agoi don't know the tech you are using but you can prevent that by running the code in a sandboxed worker, at least it won't crash, like https://github.com/asvd/jailed https://github.com/asvd/jailed (i don't know how secure is that though) anyway cool program
- asadlionpk 11y agoThanks. We are using compilebox[1] for languages which is sandboxed in Docker. But html is still rendered in everyone's browser. I am looking into solutions for preventing this. [1]: https://github.com/remoteinterview/compilebox https://github.com/remoteinterview/compilebox