Posts

Showing posts from February, 2024

Setting Your JavaScript Free

  by   Loic Duros   and   Yuchen Pei This explains how to release your JavaScript as free software so that it respects your users' freedom, and how to clearly indicate this fact so that  LibreJS  will validate it as released properly. For an explanation of why it is crucial to make your JavaScript free, see  The JavaScript Trap . Step 1: Identifying all JavaScript on your page Before you can add proper license information to your JavaScript, you must identify all the JavaScript present on your page. GNU LibreJS can list both the blocked and accepted JavaScript code on a page and make this step much easier. To use it, enable LibreJS in IceCat, Abrowser, Iceweasel, or Firefox, and visit your page. Clicking on the LibreJS widget icon (top right of the screen) will show you which JavaScript code is blocked by LibreJS and which code is accepted. External JavaScript files External JavaScript files are easy to identify because they use a  <script>  element with a  src  attribute: &l

The LibreJS project is seeking more JavaScript programmers to help maintain this browser extension.

Image
  GNU LibreJS aims to address the JavaScript problem described in Richard Stallman's article  The JavaScript Trap . LibreJS is a free add-on for GNU IceCat and other Mozilla-based browsers. It blocks nonfree nontrivial JavaScript while allowing JavaScript that is free and/or trivial. Downloads Installer It will add LibreJS to GNU IceCat or any Mozilla browser. You just need to give it the permissions it requires. Latest installer LibreJS is also available at the  Mozilla Add-ons site . Due to Mozilla's review process, the version of LibreJS available at the Add-ons site is often outdated. This isn't in our control. As with all Mozilla add-ons,  disabling or removing LibreJS  can be done without restarting the browser, via the Tools/Add-ons menu. This is even simpler in IceCat: the front page has a switch to enable and disable LibreJS. Source files They can be found on the main GNU download server ( HTTPS ,   HTTP ,   FTP ), and its  mirrors . The automatic  mirror selector

Protect Yourself from Cyber Attacks

The JavaScript Trap by  Richard Stallman There are two kinds of moral wrongs a web page can do. This page describes the wrong of sending nonfree programs to run in your computer. There is also the wrong we call SaaSS, “Service as a Software Substitute” where the page invites you to  send your data  so it can do computing on it in the server—computing which is unjust because you have no control over what computing is done. You may be running nonfree programs on your computer every day without realizing it—through your web browser. Webmasters: there are  several ways  to indicate the license of JavaScript programs in a web site. In the free software community, the idea that  any nonfree program mistreats its users  is familiar. Some of us defend our freedom by rejecting all proprietary software on our computers. Many others recognize nonfreeness as a strike against the program. Many users are aware that this issue applies to the plug-ins that browsers offer to install, since they can be