Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21265
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) |
| Date | 2013-09-11 08:09 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <l0ptjg$f81$1@dont-email.me> (permalink) |
| References | <522baff6$0$291$14726298@news.sunsite.dk> <5e79a324-e07c-4318-9e65-4dcbd8d139ae@googlegroups.com> |
Nguyen Khac Viet wrote: >> ----------------------------------------------------------------------- >> >> FAQ Topic - How do I protect my javascript code? >> With clientside javascript you can't as your code is distributed >> in source form and is easily readable. With JScript, there is the >> Script Encoder (see MSDN), but this is nothing more than obfuscation. >> Attempting to disable the context menu does nothing to >> protect your script in a Web browser. >> Your code is likely protected under copyright laws. See: >> <URL: http://www.wipo.int/about-ip/en/copyright.html> >> <URL: http://webdesign.about.com/od/copyright/Copyright_Issues_on_the_Web_Intellectual_Property.htm> > >> The complete comp.lang.javascript FAQ is at >> http://jibbering.com/faq/ > > You can try Yuicompressor or Closure https://developers.google.com/closure/ These are still obscuraters (although it is arguable that Closure is not even that), so the FAQ answer is not wrong just out of date. The FAQ needs to make a more general statement, and not imply that Microsoft Script Encoder is the only option. Also note that according to: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/ the Yui Compressor has been deprecated. -- Regards, Martin Leese E-mail: please@see.Web.for.e-mail.INVALID Web: http://members.tripod.com/martin_leese/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
FAQ Topic - How do I protect my javascript code? (2013-09-08) "FAQ server" <javascript@dotinternet.be> - 2013-09-07 23:00 +0000
Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) Dr J R Stockton <jrs@merlyn.demon.co.uk> - 2013-09-09 20:02 +0100
Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) "Chris M. Thomasson" <no@spam.invalid> - 2013-09-11 12:52 -0700
Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) Nguyễn Khắc Việt <v.r.e.auf51@gmail.com> - 2013-09-10 19:57 -0700
Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-09-11 08:09 -0600
Re: FAQ Topic - How do I protect my javascript code? (2013-09-08) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-12 11:51 +0200
csiph-web