[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/philosophy javascript-trap.html
From: |
Richard M. Stallman |
Subject: |
www/philosophy javascript-trap.html |
Date: |
Mon, 20 Mar 2017 10:07:24 -0400 (EDT) |
CVSROOT: /web/www
Module name: www
Changes by: Richard M. Stallman <rms> 17/03/20 10:07:24
Modified files:
philosophy : javascript-trap.html
Log message:
Delete the text that describes license labeling, and add links to
/software/librejs/free-your-javascript.html.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/philosophy/javascript-trap.html?cvsroot=www&r1=1.55&r2=1.56
Patches:
Index: javascript-trap.html
===================================================================
RCS file: /web/www/www/philosophy/javascript-trap.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- javascript-trap.html 18 Nov 2016 06:31:39 -0000 1.55
+++ javascript-trap.html 20 Mar 2017 14:07:24 -0000 1.56
@@ -11,6 +11,15 @@
<p><strong>You may be running nonfree programs on your computer every
day without realizing it—through your web browser.</strong></p>
+<!-- any links that used to point to the appendices should point to
+ free-your-javascript.html instead. -->
+
+<blockquote>
+<p>Webmasters: there are
+<a href="/software/librejs/free-your-javascript.html">several ways</a>
+to indicate the license of JavaScript programs in a web site.</p>
+</blockquote>
+
<p>In the free software community, the idea that nonfree programs
mistreat their users is familiar. Some of us refuse entirely to
install proprietary software, and many others consider nonfreedom a
@@ -180,85 +189,22 @@
site. Please don't hesitate to enable JavaScript temporarily to do
that—but remember to disable it again afterwards.</p>
+<!-- any links that used to point to the appendices should point to
+ free-your-javascript.html instead. -->
+
+<blockquote>
+<p>Webmasters: there are
+<a href="/software/librejs/free-your-javascript.html">several ways</a>
+to indicate the license of JavaScript programs in a web site.</p>
+</blockquote>
+
<p><strong>Thank you to <a href="/people/people.html#mattlee">Matt Lee</a>
and <a href="http://ejohn.org">John Resig</a> for their help in
defining our proposed criterion, and to David Parunakian for
helping to make me aware of the problem.</strong></p>
-<h3 id="AppendixA">Appendix A: a convention for releasing free JavaScript
programs</h3>
-
-<p>For references to corresponding source code, we recommend</p>
-<pre dir="ltr">
-
- // @source:
-
-</pre>
-
-<p>followed by the URL. This satisfies the GNU GPL's requirement to
-distribute source code. If the source is on a different site, you
-must take care
-to <a href="/licenses/gpl-faq.html#SourceAndBinaryOnDifferentSites">
-handle that properly</a>. Source code is necessary for the program to
-be free.
-</p>
-
-<p>To indicate the license of the JavaScript code embedded in a page, we
-recommend putting the license notice between two notes of this form:</p>
-<pre dir="ltr">
-<!--TRANSLATORS: Do not translate these license notices. The <pre>
- elements have dir="ltr" explicitly set to cater for RTL languages.-->
- @licstart The following is the entire license notice for the
- JavaScript code in this page.
- ...
- @licend The above is the entire license notice
- for the JavaScript code in this page.
-
-</pre>
-<p>Of course, all of this should be contained in a multiline comment.</p>
-
-<p>The <a href="/licenses/gpl.html">GNU GPL</a>, like many other free
-software licenses, requires distribution of a copy of the license with
-both source and binary forms of the program. However, the GNU GPL is
-long enough that including it in a page with a JavaScript program can
-be inconvenient. You can remove that requirement, for code that you
-have the copyright on, with a license notice like this:</p>
-<pre dir="ltr">
-
- Copyright (C) YYYY Developer
-
- The JavaScript code in this page is free software: you can
- redistribute it and/or modify it under the terms of the GNU
- General Public License (GNU GPL) as published by the Free Software
- Foundation, either version 3 of the License, or (at your option)
- any later version. The code is distributed WITHOUT ANY WARRANTY;
- without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
-
- As additional permission under GNU GPL version 3 section 7, you
- may distribute non-source (e.g., minimized or compacted) forms of
- that code without the copy of the GNU GPL normally required by
- section 4, provided you include this license notice and a URL
- through which recipients can access the Corresponding Source.
-
-</pre>
-
<p>I thank Jaffar Rumith for bringing this issue to my attention.</p>
-<h3 id="AppendixB">Appendix B: Publishing free JavaScript programs as
- a webmaster</h3>
-
-<p>If you're a webmaster deploying free JavaScript software
- on your site, clearly and consistently publishing information about
- those files' licenses and source code helps your visitors make
- sure that they're running free software, and help you comply with
- license conditions.</p>
-
-<p>One method of stating the licenses is the one described above in
- <a href="#AppendixA">Appendix A</a>. A second
- method, <a href="/licenses/javascript-labels.html"> JavaScript
- license web labels</a>, can be more convenient for libraries of
- minified JavaScript code, especially when you didn't write them.</p>
-
</div><!-- for id="content", starts in the include above -->
<!--#include virtual="/server/footer.html" -->
<div id="footer">
@@ -316,7 +262,7 @@
<p class="unprintable">Updated:
<!-- timestamp start -->
-$Date: 2016/11/18 06:31:39 $
+$Date: 2017/03/20 14:07:24 $
<!-- timestamp end -->
</p>
</div>
- www/philosophy javascript-trap.html,
Richard M. Stallman <=