[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #17393 [Webpages/Website]: Make the various javascript on Tor sites be LibreJS-compatible?
#17393: Make the various javascript on Tor sites be LibreJS-compatible?
--------------------------------------------+-----------------------------
Reporter: arma | Owner: traumschule
Type: enhancement | Status: assigned
Priority: Medium | Milestone: WebsiteV3
Component: Webpages/Website | Version:
Severity: Minor | Resolution:
Keywords: defer-new-website, website-bug | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------------+-----------------------------
Comment (by traumschule):
LibreJS 7.16 recognizes the link to a [https://www.gnu.org/licenses
/javascript-labels.html JavaScript Web Labels table]. It can be placed
anywhere in the site, but not in comments:
{{{
<a href="<page about/javascript>" data-jslicense="1">JavaScript license
information</a>
}}}
The result is that all JavaScript on the page is qualified with {{{Free
licenses (GPL-2.0)}}}:
https://share.riseup.net/#B7FX1hAfLjz9Y2VGam3w4Q (screenshot)
It seems that the content of the linked page does not change the result as
it was tested with an empty page and with a table listing the scripts by
name.
A license definition only at the head of the loaded script as described in
[https://www.gnu.org/software/librejs/free-your-javascript.html 3.2.4
Stylized comment] however is not recognized, or i made a mistake:
http://yslc6nb5fftewvbmxlkdm3h3b42feesug7qebc2a42xsgeesp4llkayd.onion/docs
/debian-selector.js
Based on this i propose to place the link to the Web labels table in the
footer to appear on all pages of our site.
It is good to know that it works well with onion addresses.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17393#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs