3 ms·
preview of what I'm working on would be nice how do you protect against malicious content via JS?
by verdverm 4y ago
preview of what I'm working on would be nice
how do you protect against malicious content via JS?
- chmunch 4y agoThe preview should be on the right side of the editor, not sure what problems you're having. Every post is sandboxed inside an iframe so that it cannot access content outside of its document, additonally I also implemented a loop protection feature which prevents simple loops from disrupting the website. Obviously it cannot catch everything, so if we detect a user deliberately causing trouble, the intuitive way to deal with it is just blocking him.