MichaelXF / js-confuser

JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
https://js-confuser.com
MIT License
168 stars 28 forks source link

Exception with important variables #111

Closed EndryosOficialOne closed 7 months ago

EndryosOficialOne commented 8 months ago

Is your feature request related to a problem? Please describe. I always feel sad when I see that my code throws an error simply because the obfuscator renames an important variable in my code.

Describe the solution you'd like It would be perfect if there was an additional option, like JSON, in the advanced options section to add important variables that should not be renamed.

Additional context On the website https://obfuscator.io/, the Reserved Strings option works perfectly.

Le0Developer commented 7 months ago

Duplicate of #54, pass a custom renameVariables function.

image