[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LibreJS license labels for Invidious redirect page
From: |
Cadence Ember |
Subject: |
LibreJS license labels for Invidious redirect page |
Date: |
Fri, 7 Aug 2020 20:45:19 +1200 |
Greetings GNU,
I am involved with developing the Invidious project:
https://github.com/iv-org/invidious
I am currently creating the new page for https://invidio.us for after
it will close operations on September 1st. The purpose of this page is
to suggest instances that are still active that users can visit
instead. This entire redirect site will be free software, of course.
In the interest of putting less load on the server, the list of
instances will be downloaded by the browser from
https://instances.invidio.us/instances.json, and turned into a table
with JavaScript. I can't generate the table server-side.
This functionality works and you can see the website at:
https://invidious-redirect.cadence.moe/
I am aware of LibreJS. I've read these pages about it:
- https://www.gnu.org/licenses/javascript-labels.html
- https://www.gnu.org/software/librejs/free-your-javascript.html
I've attempted to mark the JavaScript as free software so that LibreJS
will run it, but I have not seen success. I believe I have set
everything up as required:
- The footer has a "JavaScript licenses" link, with the
data-jslicense="1" attribute, so the link to the license pages
should be detected.
- On that page, there is a table with id="jslicense-labels1", so the
licenses should be detected.
I am testing by creating a new blank Firefox profile and installing
LibreJS only. LibreJS, when visiting the home page, says that the
script was blocked because it has an unknown license.
I have no idea what I've done wrong here. Can you help?
Again, the page that I'm trying to add labels for is:
https://invidious-redirect.cadence.moe/
Thank you for all you have done for software freedom.
-- Cadence
PGP: https://cadence.moe/cadence.asc
AC84 7C64 1024 C07A C88A E10E BC1C 2C61 CF52 1B17
pgpO2lFWrLK9r.pgp
Description: PGP signature
- LibreJS license labels for Invidious redirect page,
Cadence Ember <=