1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

Hi everyone,

I am soon uploading a javascript file to codecanyon.

I want to ask if is it safe to give a live preview for such file. because, all files can be downloaded easily.

kindly, advice.

thanks in advance.

812 posts
  • 5 Years of Membership
  • Collector Level 2
  • Community Superstar
  • Exclusive Author
iamthwee
says

Short answer, there is no real way to protect your code.

Best is to obfuscate it. Obviously if said buyer, purchases your item you would provide the proper js code, with the minified js as well.

http://stackoverflow.com/questions/194397/how-can-i-obfuscate-javascript
by
by
by
by
by
by