Obfuscate your javascript code here
Sometimes, the minification of a script doesn't seems to satisfy our expectations. We want something more discreet and unreadable , for our luck exist the Javascript Obfuscation, for example :
Turn this :
var MyUnreadableSecretObject = {};
MyUnreadableSecretObject.sayWelcome = function(){
console.log("Say hello");
};
MyUnreadableSecretObject.anotherFunction = function(){
alert("Hola");
};
Into this :
// Try this obfuscated code in your browser
var _0x44d8=["\x73\x61\x79\x57\x65\x6C\x63\x6F\x6D\x65","\x53\x61\x79\x20\x68\x65\x6C\x6C\x6F","\x6C\x6F\x67","\x61\x6E\x6F\x74\x68\x65\x72\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x48\x6F\x6C\x61"];var MyUnreadableSecretObject={};MyUnreadableSecretObject[_0x44d8[0]]=function(){console[_0x44d8[2]](_0x44d8[1])};MyUnreadableSecretObject[_0x44d8[3]]=function(){alert(_0x44d8[4])};
What Is Javascript Obfuscator?
Javascript Obfuscator converts the JavaScript source code into obfuscated and completely unreadable form, preventing it from analysing and theft. It's a 100% safe JavaScript minifier and the best JavaScript compressor.
It's free online ! However exist a paid version too, try by yourself and obfuscate your javascript now !
Remember that you can increase the unreadability creating a library and wrapping everything in anonymous functions in order to hide the most of them in the console and exposing just 1 variable.
You can also minify your code first and then use the obfuscator.