by stefanorri · 11y ago · 0 comments
JS is nowhere near as secure as it is often toted as being. You don't want to find yourself being host to a zero-day attack.
If nothing else, what happens if someone visits the site without support for `sandbox`? You best option (not displaying it if the browser doesn't support it) breaks the site for users without JS, or that don't have support `sandbox`.
And I'd be one of those users who would be cut out by JS requirements. Just so you know, that number is not zero.