Converts javascript command into no alnum version using only []()+! characters (unless you input extras).
Intended input: one line, no whitespace, no variables, function definitions or conditionals.
Note:
~ Some obscure letters/symbols might not be implemented (will remain as they are in the output)
~ A precise syntax is required:
- Infinity, NaN, or any number needs to be enclosed when being added to something from behind
- Numbers outside strings, ie. "abc"+123
- Strings in double quotations, not nested
~ Most problems caused by missing parentheses around strings
Example:
alert(document.getElementById("txt").value+String.fromCharCode(33))
Let me know if you find any improvements! Page tested with Firefox only.