Give us feedback
Reactive icon

Encode JavaScript

Stable version 1.0.3 (Compatible with OutSystems 11)
Uploaded on 2 Jan by 
 (0 ratings)

Encode JavaScript

Encode JavaScript code using only six characters: [, ], (, ), !, and +.
Read more

Use this component to encode any JavaScript code using only six characters: [, ], (, ), !, and +. The result is pure and valid JavaScript code which can be run in any web browser or JavaScript engine.

This technique relies on the fact that JavaScript is a weakly typed language and can be used to obfuscate or bypass various filtering systems.

For instance, in JavaScript false is the same as ![] and true can be written as !![]

Using the same approach, alert("a") is the same as alert((![]+[])[+!![]])

You can use the demo component for a quick conversion.

Release notes (1.0.3)

. Remove unnecessary user picture in main component

Reviews (0)
Related assets
More from Maxime Baracco