LibreJS: Free JavaScript in your browser

LibreJS module maintains a list of the license and source code URL of each JavaScript file used by the site. This list can be viewed at /librejs/jslicense by all roles granted the "access JavaScript license information" permission. LibreJS module will only discover JavaScript files as they are loaded when users visit various pages, so you will have to visit this page repeatedly to see additional JavaScript files which have been detected.

LibreJS module provides compatibility with the LibreJS browser extension. To ensure that aggregated JavaScript is accepted by LibreJS browser extension, libraries which are not flagged as GPL-compatible will no longer be aggregated when LibreJS module is enabled.

On Drupal 10.1 and later, LibreJS module does not require any configuration, as each library can specify its license identifier, license URL, source URL ("remote"), and GPL compatibility.

The Drupal 7 version of LibreJS module allows site administrators to configure the license and source code URL of each JavaScript file used by the site, and adds metadata to pages indicating that all inline JavaScript in the page is GPL v3+.

Supporting organizations: 

Project information

Releases