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> ...