Answer the question
In order to leave comments, you need to log in
How to hide code?
There is a project. There is a lot of javascript code. How can it be painted over, hidden. To not be able to take it for themselves.
Answer the question
In order to leave comments, you need to log in
No way, take out the logic on the server side.
Any js minifier will be enough to weed out the majority of those who want to understand your code. And who can figure it out, he will write his bike faster.
If the code is client - no way. Only obfuscation and minification.
What are the ways to hide (from plagiarism) JS on the site?
You take the code, obfuscate it, convert it to PNG https://github.com/felixmaier/JS2PNG , convert PNG to base64. The code that decodes the base64 string with the image back into js code and appends it to the script tag (appendim script tag for 1 ms, then delete), obfuscate 1 time with some kind of js uglify, and then the 2nd time with this service javascript2img.com/ .
Something like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question