Mozilla extension for blocking nonfree JavaScript
css
html
javascript
python
makefile
shell
Jesús ab961191a5
update libraries
11 months ago
data update libraries 11 months ago
doc version 6.0.13 3 years ago
lib Remove experimental array comprehension syntax 3 years ago
test Fixes for jpm 4 years ago
tools/library-fetch-tools Import to new git repository 4 years ago
.gitignore remove manual output from source repo 4 years ago
.jpmignore add node_modules whitelist to jpmignore 4 years ago
.jshintignore updates for jpm 4 years ago
.travis.yml update nodejs version for travis 4 years ago
COPYING Import to new git repository 4 years ago
ChangeLog update changelog 3 years ago
Makefile.in random jpm stuff 4 years ago
README readme update for signed xpi's 3 years ago
TODO Import to new git repository 4 years ago
configure.ac version 6.0.13 3 years ago
icon.png add back ID to fix AMO, and use default icon location 3 years ago
install-sh Committing changes for version 6.0.8 4 years ago
missing Committing changes for version 6.0.8 4 years ago
package.json version 6.0.13 3 years ago

README

GNU LibreJS --an add-on for GNU IceCat and Mozilla Firefox-- detects and
blocks nonfree nontrivial JavaScript while allowing its execution on
pages containing code that is either trivial and/or free.


Notes on working with the code
-------------------------------
## Running the addon ##
Download jpm, then do something like this in the LibreJS
directory:

jpm run -b `which abrowser`

## Debugging ##
Uncomment lines 22 and 23 in lib/main.js to enable printing of
console.debug() statements.

## Adding new whitelisted libraries ##
* Edit data/script_libraries/script-libraries.json

## Releasing a new version ##
* Update version number in:
** configure.ac
** package.json
** doc/version.texi
** data/display_panel/content/display-panel.html
* Then run `make info` to build the docs with gendocs.sh
* `git commit` and `git tag 6.0.4`
* Export a tarball:
git archive --format=tar.gz --prefix=librejs-6.0.4/ 6.0.4 >librejs-6.0.4.tar.gz
mv librejs-6.0.4.tar.gz ~/releases/librejs/6.0.4/
* Make xpi file: jpm xpi; mv librejs.xpi librejs-6.0.4.xpi
* Upload xpi file to AMO. Use signed xpi from AMO for gnu servers,
e.g.: gnu_librejs-6.0.11-fx.xpi
* Upload to gnu servers, update gnu.org/s/librejs links
* Make announcement on info-gnu and savannah.gnu.org
* Update #librejs topic