GNU LibreJS is a browser plugin that aims to address the JavaScript problem described in Richard Stallman’s article The JavaScript Trap. Basically, what is to block the execution of any javascript files that aren’t explicitly licensed as free software.

A while ago, Richard Stallman contacted me and asked me if I could try and make FreedomSponsors compatible with LibreJS. At the time I was really busy and couldn’t do it. But recently I made another attempt and succeeded (yay!)

Making your website compatible with LibreJS is hard-ish, with more hidden obstacles than I anticipated (and I’ll bug them more about this soon at librejs mail list!). But in the end, there were a few hidden advantages too:

  • Concatenating all my js and template files made pages load faster
  • Using the right content-type for json responses is always a good thing
  • Forcing yourself to know exactly what third party libs and licenses you’re using is a good thing too.

So if you use LibreJS, your browser will probably stop complaining about now. And if it doesn’t, please let us know.

In case you’re a webdeveloper creating a website, please consider making it compatible with LibreJS. In that case, check out this other post with a few tips to make LibreJS like your website.


Tony Lâmpada