+ 1

[SOLVED] Make JavaScript unreadable

Is it possible to encrypt your JavaScript in such a way that it won't make any sense to humans but it works so it looks like it has been pre-compiled? Please I am NOT talking about minification!

14th May 2020, 10:29 PM
Ore
Ore - avatar
6 odpowiedzi
+ 4
this might help. it's an obfuscator, not a minifier: https://obfuscator.io/
14th May 2020, 10:32 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 2
Sebastian Pacurar Provided a good solution. However, there's another way to hide your javascript code which is using jsF***. www.jsfuck.com Actually, I do not recommend to use it because, it really, really makes the code laggy.
14th May 2020, 10:52 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Thanks Sebastian Pacurar, That's exactly what I needed.
14th May 2020, 10:37 PM
Ore
Ore - avatar
+ 1
i think u need this , https://github.com/adamyork/garble because this is so hard to decode or deobfuscate it
14th May 2020, 11:03 PM
T1mun
T1mun - avatar
0
InsideHeartz and Arb Rahim Badsa Thanks for the help but neither garble nor jsf*** is suitable for production purposes as it makes file size extremely large. jquery.js is now 2.98MB with garble!!!
15th May 2020, 12:12 AM
Ore
Ore - avatar
- 1
NlnvB
5th Sep 2020, 12:25 PM
حسين القاسمي
حسين القاسمي - avatar