question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Request] LibreJS license block

See original GitHub issue

Is your request related to a specific problem you’re having? Users using the LibreJS plugin cannot run highlight.js scripts.

The solution you’d prefer / feature you’d like to see added… Add to top of generated file:

// @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause License

Add to end of file:

// @license-end

Additional context… The magnet URI (magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt) can be opened in a BitTorrent client to retrieve a copy of the GNU AGPL 3.0 license. Section 3.2.2.1 from the above link has a list of magnet URIs for various free software licenses.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
allejocommented, Apr 5, 2021

Sorry, allow me to clarify what I was trying to get at on this topic:

Other giant libraries like jQuery and Bootstrap aren’t following this LibreJS pattern. So that would give us no motivation to follow suit. Other libraries have copyright notices in these formats, just like us. Oh hey, except maybe the !.

1reaction
joshgoebelcommented, Apr 5, 2021

AH duh, I knew that. 😃 Our header process just adds the header itself at the last minute so it can contain up-to-date Git SHA and version, etc… but I’d be happy to add a ! to that so something else is less likely to strip it away. Did you see the above? We already do this:

  /*
    Highlight.js 10.7.1 (55dd7a65)
    License: BSD-3-Clause
    Copyright (c) 2006-2021, Ivan Sagalaev
  */

updated to:

/*!
  Highlight.js v10.7.1 (git: 05a27707ac)
  (c) 2006-2021 Ivan Sagalaev and other contributors
  License: BSD-3-Clause
 */
Read more comments on GitHub >

github_iconTop Results From Across the Web

GNU LibreJS 7.21
GNU LibreJS —an add-on for GNU IceCat and Mozilla Firefox— detects and blocks nonfree nontrivial JavaScript while allowing its execution on ...
Read more >
Make JavaScript LibreJS compliant. · Issue #1254 - GitHub
It blocks nonfree nontrivial JavaScript while allowing JavaScript that ... Feature request: LibreJS compliance online-go/online-go.com#1554.
Read more >
Librejs - Free Software Directory
It allows users to block javascript code that is neither free nor trivial. It works on recent versions of IceCat and other Firefox/Mozilla-based ......
Read more >
librejs - 73f344f4275b7e02933751eb8d64ff081af3a0e8
GNU LibreJS - A browser add-on to block nonfree nontrivial JavaScript. ... the Free Software Foundation, either version 3 of the License, or....
Read more >
GNU LibreJS for Firefox blocks non-free non-trivial JavaScript
A list of JavaScript code that matches the definition includes scripts loaded from external pages, that alter the DOM, or call eval. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found