JavaScript codes hard to copy and modify?
The bundled version of code is already minified, which make hard and impossible to read
https://www.npmjs.com/package/webpack-obfuscator
But I believe there are tools which can be used to rearrange minified codes to be well arranged and readable
There aren't. And even if formatting code and changing the structure a bit is considered "readable", you'll have a hard time figuring out what's going on, if at all, due to the name of the methods and parameters.
There are, Chrome let's you "prettify" source code
The same can be done for obfuscated code, Press f2 in vscode to rename any thing, and it will be renamed everywhere it's used
Absolutely true, it's better to just minify and leave it alone.
Обсуждают сегодня