here's a method for stating their licenses and source code locations
without altering the minified files themselves. It's especially helpful in cases where
the exception proposed
in Appendix A of
conditions in the GNU software licenses, and it enables LibreJS to
confirm the correctness of the information on a site.
files carry license notices that properly release them under a free
license. The compiled code isn't free unless its souce code is, and
indicating the license is essential for proper release of free source
code. If you haven't done that, you should do that first.
You can use web labels to machine-readably indicate the licenses of
please don't fail to give them human-readable license notices.
Omitting those creates uncertainty about their legal status.
included directly in HTML pages — their license information
should be stated
directly in those pages.
explanation of why we designed this format, see the
Writing the labels page
use whatever path or filename is most convenient for you; others will
find it through links. The page must include one table marked with
id="jslicense-labels1". This name lets
automated tools find the table easily, and tells them what format to
expect. Each row of this table will contain three cells, providing
license, and how visitors can obtain its source code.
site. The cell must contain an anchor tag that links to that file,
script tags throughout the site do.
The second cell provides information about the license of this
refers to the full license text, and whose text provides the license's
full name, and if the license has multiple versions, the version
number and whether or not the file is licensed under later versions of
the license. Good license identifiers and their associated links
.tar.gz archive, or a
.zip archive. If a source archive includes
00-INDEX that lists the order in which individiual source files
should be concatenated to produce a single file that's
served from the site, and linked from the first cell, is already in
source code form, link to the same URL again in this cell.
Below is an example table for illustration. This site just uses
under the Expat license. The table lists the file with corresponding
license information and a link to full source code:
This page may include other text and markup, including your site's
normal layout and navigation tools, but the table must be displayed
prominently on it.
Links to the labels page
the labels page described above. Mark this link with the
rel="jslicense", so that automated tools can
find it. For example, your final link might look like this:
This link can be small, but it should be clearly visible to people
who visit your site.
If you do these things, you will comply with the relevant
conditions in the GNU software licenses, such as the GNU General
Public License. They should also suffice to comply with many other
free software licenses, but we can't say with certainty that they will
comply with all of them. As always, please make sure you understand
and follow the license conditions of any free software you