From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
LibreJS icon.png
LibreJS on Wikipedia.png
GNU LibreJS 6.0.9 showing the blocked elements on the English Wikipedia main page.
Developer(s)Ruben Rodriguez, Nik Nyby
Stable release
7.20.2 / 31 March 2020; 12 months ago (2020-03-31)[1]
Repository Edit this at Wikidata
TypeBrowser extension
LicenseGNU GPL v3[2]

GNU LibreJS, or simply LibreJS, is a free software web browser extension for Mozilla Firefox-based browsers, created by the GNU Project.[2] Its purpose is to block nonfree nontrivial JavaScript programs and allow free or trivial JS in a user's web browser. The add-on was created to address the so-called "JavaScript Trap"[3] first described by Richard Stallman in 2009,[4] a situation in which many users unknowingly run proprietary software in their web browsers.


GNU LibreJS aims to block nonfree JavaScript programs that are present in many websites. It is developed as part of the GNU Project by Ruben Rodriguez and Nik Nyby[2] and is included by default in the GNU IceCat browser.[5][6] It can also work with Tor.[7][8]

The add-on allows site whitelisting and has an e-mail detection system for users to contact page webmasters in order to persuade them into making their JavaScript code compliant with LibreJS.[9] According to the Free Software Foundation, many websites (if not whitelisted) break while using the add-on, due to the pervasiveness of proprietary JavaScript code on the web.[10] Nevertheless, programmer and activist Richard Stallman supports the usage of GNU LibreJS.[3]

Criticizing Google, Stallman said, "In general, most Google services require the execution of non-free JavaScript code. If you refuse to do so (for example, by running LibreJS), you will see that you will not be able to use these services."[11]

Klint Finley of Wired, after going without JavaScript for a week, wrote, "The Free Software Foundation launched its Free JavaScript campaign in 2013 to promote websites using only free and open source JavaScript code, or making sites function without it. To help users avoid running proprietary JavaScript, they developed LibreJS, a plugin for the Firefox web browser that blocks most, but not all, JavaScript from running. They also work with engineers to help reduce dependence on proprietary JavaScript."[12]

Cory Doctorow of BoingBoing, discussing Finley's article, said he had used NoScript for years, and got around the problems Finley identified by whitelisting pages with wanted functionality that only works with JavaScript.[13]

Websites have been criticized or rated based on whether they work without JavaScript or with LibreJS enabled.[14][15]

See also[edit]


  1. ^ "librejs.git - LibreJS". Retrieved 2021-04-10.
  2. ^ a b c "GNU LibreJS". Retrieved 2015-07-23. CS1 maint: discouraged parameter (link)
  3. ^ a b Richard Stallman. "The JavaScript Trap". Retrieved 2015-07-23. CS1 maint: discouraged parameter (link)
  4. ^ "The JavaScript Trap". 2009-03-24. Archived from the original on 2009-03-24. Retrieved 2018-12-31.
  5. ^ "GNUzilla and IceCat". Free Software Foundation.
  6. ^ "Die sicheren Browser-Alternativen". Retrieved 2019-12-23.
  7. ^ n8willis (2014-12-03). "GNU LibreJS 6.0.6 released".
  8. ^ "Installer LineageOS sur son appareil Android -". Retrieved 2019-12-23.
  9. ^ "LibreJS - News". Savannah.
  10. ^ wtheaker (2013-10-23). "LibreJS reaches version 5.4". Free Software Foundation.
  11. ^ "Trolldi : pourquoi Richard Stallman pense que vous ne devriez pas utiliser Google". (in French). Retrieved 2019-12-23.
  12. ^ Finley, Klint (2015-11-18). "I Turned Off JavaScript in My Web Browser for a Whole Week and It Was Glorious". Wired. ISSN 1059-1028. Retrieved 2019-12-23.
  13. ^ "The Web is pretty great with JavaScript turned off". Boing Boing. 2015-11-18. Retrieved 2019-12-23.
  14. ^ Gallagher, Sean (2016-06-17). "Under new management, SourceForge moves to put badness in past". Ars Technica. Retrieved 2019-12-23.
  15. ^ online, heise. "Free Software Foundation: GitHub und SourceForge kommen bei Hosting-Services-Untersuchung nicht gut weg". Developer (in German). Retrieved 2019-12-23.

External links[edit]