4 ms·
What Javascript is not safe in a open-ended script?
- robert00700 14y agoSurely censoring the functionality is completely impossible, due to the dynamic nature of JS? alert("blah") can just as easily be made to be window["alert"]("blah"), where the string 'alert' could be made by a very convoluted manner. Solving this would be akin to solving the halting problem, no?
- christocracy 14y agowindow[['t', 'r', 'e', 'l', 'a'].reverse().join('')]("blah");