Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hide javascript from showing up in browser

I have some javascripts that I am using in my files. But when we view the source code it shows our javascript as it is. Is there any way with which we can hide our javascript from showing up in the browser using php.

like image 615
developer Avatar asked Dec 05 '22 05:12

developer


1 Answers

There is a free javascript obfuscator at javascriptobfuscator.com. It will not prevent dedicated people from "stealing" your code, but normal copy&paste will not be easy.

Also see this question: How can I obfuscate (protect) JavaScript? . It contains some very good answers and also explain how this is security through obscurity.

like image 129
Espo Avatar answered Dec 24 '22 13:12

Espo