Encrypt javascript jQuery file

I have a number of jQuery codes on how to prevent users from seeing the actual code, or how I can encrypt a .js file.

Please suggest openource

Thanks jean

[edit] I do not want users to know how I encoded or copied my code

[edit] As soon as I use base62 encode, is it possible to convert it backwards?

+4
source share
7 answers

Check out the Dean Edwards Packer . It has the ability to encode your JS. You must allow your JS to be readable in the world, otherwise the browser could not load it.

+5
source

, Javascript: , , .

"" minify/obfuscate it; ., , YUI Compressor, JS ( ), .

Javascript /, - , ; , , .

+4

Google

http://code.google.com/closure/

Closure JavaScript , , ,

+2

js , , -. , javascript, . , , , , .

, , , , , , , albiet .

+1

JavaScript, . !

0

, , , :

http://www.vincentcheung.ca/jsencryption/instructions.html

, , ( ).

You should also look at obfuscation, which will make the code much harder to remake.

http://www.javascriptobfuscator.com/Default.aspx

0
source

All Articles