News for hackers. Stuff that matters.
Re:What Javascript is not safe in a open-ended script? by robert00700 on Wednesday May 30, 2012 @10:02PM (#4045925)
Surely 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?

Re:What Javascript is not safe in a open-ended script? by christocracy on Wednesday May 30, 2012 @11:32PM (#4046209)
window[['t', 'r', 'e', 'l', 'a'].reverse().join('')]("blah");