JavaScript cleaner/purifier ?

Posted by Calin Don on Stack Overflow See other posts from Stack Overflow or by Calin Don
Published on 2010-03-23T09:57:51Z Indexed on 2010/03/23 10:03 UTC
Read the original article Hit count: 287

Filed under:

Is there any way to cleanup JavaScript code?

I want to enable users to post arbitrary JS but i want to filter some of it out, like eval and document.write. Do you know of any tool that can do this?

© Stack Overflow or respective owner

Related posts about JavaScript