bug-librejs
[Top][All Lists]
Advanced

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

Re: LibreJS blacklists javascript from gnu.org


From: Ali Reza Hayati
Subject: Re: LibreJS blacklists javascript from gnu.org
Date: Thu, 24 Jun 2021 10:36:44 +0430
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Thank you very much Yuchen.

I tested the fix and it worked. There's no problem anymore.

Happy hacking.

On 22/06/2021 13:22, Yuchen Pei wrote:

Ali Reza Hayati <arh@gnu.org> writes:

Hello people.

We received a message regarding this thread.

Apparently, LibreJS blocks what seems to be a free JavaScript on this
page [1].

The JavaScript itself is placed on [2].

I reported this problem. After trying to get some scripts on my website to work librejs, I am 98% sure this bug can be fixed by adding a '-' (hyphen) between Apache and 2.0 in the first line of prettify.js (https://www.gnu.org/software/librejs/js/prettify/prettify.js).

That is, instead of
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache 2.0

make it
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt Apache-2.0

Can someone with access to the website repo try it out?

Best,
Yuchen


--
Ali Reza Hayati (https://alirezahayati.com)
Free culture activist and privacy advocate

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]