[tor-bugs] #17393 [Webpages/Website]: Make the various javascript on Tor sites be LibreJS-compatible?

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 6 18:25:07 UTC 2018


#17393: Make the various javascript on Tor sites be LibreJS-compatible?
--------------------------------------------+------------------------------
 Reporter:  arma                            |          Owner:  traumschule
     Type:  enhancement                     |         Status:
                                            |  needs_revision
 Priority:  Low                             |      Milestone:  WebsiteV3
Component:  Webpages/Website                |        Version:
 Severity:  Minor                           |     Resolution:
 Keywords:  defer-new-website, website-bug  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:  hiro                            |        Sponsor:
--------------------------------------------+------------------------------
Changes (by traumschule):

 * Attachment "librejs7.18.png" added.

 Retested the functionality of LibreJS 7.18: * Left: The license of
 {{{debian-os-selector.js}}} on the
 [https://github.com/torproject/webwml/pull/45 librejs branch] is
 recognized because of the js table  * Right: Default red LibreJS symbol on
 tpo's onion service  Replying to comment:9: > 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 > The result is that all JavaScript on the page is qualified > 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. This has been fixed with 7.18. Now it also correctly parses the
 table and recognizes when scripts are missing.   > 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 Also fixed.   > 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. Seconding myself.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17393>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list