0

I want to minify a JavaScript file in which the function, variable names should be rename that can not understand/read by human and also can not deminify.

I have tried Closure Compiler http://closure-compiler.appspot.com/home. But in Advanced optimization it gives lots of Warnings.

Is there is any way to minify JavaScript?

Cerbrus
  • 65,559
  • 18
  • 128
  • 140
sachinM
  • 128
  • 1
  • 2
  • 12
  • 1
    Yes or no questions aren't really suited for this format; in this case, the answer is "No, there is not." Aside from that, there are many options for passable minification in the proposed duplicate. – Claies Jul 10 '15 at 06:50
  • 2
    It is possible to encrypt anything so it is impossible to decrypt. However, things that are impossible to decrypt are utterly useless, since no-one can use them any more, including you, and including the execution environment. What you probably want to ask is "is there a way to encrypt something that only the browser can understand but the user cannot?" Then the answer is a categorical no. – Amadan Jul 10 '15 at 06:55
  • thanks Claies, Amadan for your help. – sachinM Jul 10 '15 at 07:01

0 Answers0