Documentation Index
Fetch the complete documentation index at: https://docs.js-confuser.com/llms.txt
Use this file to discover all available pages before exploring further.
- Option name:
"pack" - Option values:
true/false
[!WARNING] Requires Eval The obfuscated code will contain unsafe eval expressions. The code will not work properly in environments that have disabled eval
Input / Output
This example showcases howPack transforms the code. Try it out by changing the input code and see changes apply in real-time.
Bypass Strict Mode
ThePack option is designed to bypass strict mode constraints. This is achieved by wrapping the output code in a Function() call. This allows the code to be executed in a different context, where strict mode is not enforced.
Several obfuscation techniques require non-strict mode JavaScript. These include:
- With Statement (Control Flow Flattening)
- Eval scope access (Tamper Protection)
Usage Example
The provided code example will obfuscate the fileinput.js and write the output to a file named output.js.
Enabled In
- High Preset: Yes
- Medium Preset: Yes
- Low Preset: No