0

How the javascript code is written in percentage formate ?

In some javascript code we didn't see code i.e not in human readable format

27th Sep 2020, 7:55 AM
Vaibhav Pawar
Vaibhav Pawar - avatar
4 odpowiedzi
+ 3
There are online (and free) tools to change your Javascript source code in various ways. Obfuscation has the goal to make code less readable (and difficult to copy). https://obfuscator.io/ Minifying and compressing the code has the goal to reduce size, thereby making the pages load faster. https://javascript-minifier.com/ https://jscompress.com/ These are just the top hits in google, there are many other similar tools and utilities.
27th Sep 2020, 8:35 AM
Tibor Santa
Tibor Santa - avatar
+ 4
I get it that people get frustrated, when others just copy and use their work, without even mentioning or thanking the original author. We moderators consider this plagiarism and it is strongly discouraged and sanctioned by the mods. In my opinion, obfuscation is totally inappropriate and pointless on a platform such as SL. After all, we are all here to learn from each other. Knowledge sharing is one of the huge benefits of the whole Open Source movement, that we all benefit from. https://en.m.wikipedia.org/wiki/Open-source-software_movement If you are concerned that someone might steal your intellectual property, you should really keep your source code closed and host it somewhere else. Obfuscation totally beats the purpose of the SoloLearn community. At the level where most of these codes are, it is unlikely that anyone would suffer financial damages due to someone else using their codes. This is just my opinion, and I want to emphasize that copying other people is ok ONLY when giving proper credits.
27th Sep 2020, 9:15 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Do you mean %XX in html?
27th Sep 2020, 8:27 AM
Sousou
Sousou - avatar
27th Sep 2020, 9:02 AM
Vaibhav Pawar
Vaibhav Pawar - avatar