1567 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
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
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
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