Re: Non-Free JavaScript





On Mon, Mar 8, 2010 at 1:41 AM, Liam R E Quin <liam holoweb net> wrote:
On Sat, 2010-03-06 at 05:29 -0500, Richard Stallman wrote:

[...]

> _javascript_ programs are not necessarily bad, but if browsers
> temporarily install them silently without checking whether they are
> free, that systematically leads users to run nonfree software without
> knowing it.

That raises an interesting point - there's no standard way to mark a
licence on a fragment of _javascript_, neither included in an HTML or
XML document nor if downloaded separately, at least as far as I can
tell.

Is that something we (W3C) should take up?

Liam
Yes,
Do not store license information as tag because same file can be referenced in other website. The best solution is that, Every _javascript_ Developer must be instructed to declare global variable (var LicenseInfo = [gplv3, mit] ) in their first line of _javascript_ file. Browser will read this first variable and can decide whether it should process it or not. Absence of variable should be considered as public _javascript_ file.

--
┌─────────────────────────┐
│    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│    Society for Knowledge Commons
│    Web : http://narendra.techfandu.org
└─────────────────────────┘


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]