LibreJS under Unified XUL Platform
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jesús 62f96f35d4
version 6.0.14
5 days ago
data version 6.0.14 5 days ago
doc version 6.0.14 5 days ago
lib version 6.0.14 5 days ago
test version 6.0.14 5 days ago
tools/library-fetch-tools Import to new git repository 6 years ago
.gitignore version 6.0.14 5 days ago
.jpmignore add node_modules whitelist to jpmignore 5 years ago
.jshintignore updates for jpm 5 years ago
.travis.yml update nodejs version for travis 5 years ago
COPYING Import to new git repository 6 years ago
ChangeLog update changelog 4 years ago
Makefile.in version 6.0.14 5 days ago
README.md version 6.0.14 5 days ago
TODO Import to new git repository 6 years ago
configure.ac version 6.0.14 5 days ago
icon.png add back ID to fix AMO, and use default icon location 4 years ago
install-sh Committing changes for version 6.0.8 6 years ago
missing Committing changes for version 6.0.8 6 years ago
package.json version 6.0.14 5 days ago

README.md

GNU LibreJSXUL --an add-on for Iceweasel UXP and similars-- 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 $(command -v iceweasel-uxp)

Debugging

Uncomment lines 24 and 25 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
  • git commit and git tag 6.0.14
  • Export a tarball:

    git archive --format=tar.gz --prefix=librejsxul-6.0.14/ 6.0.14 >librejsxul-6.0.14.tar.gz

    mv librejsxul-6.0.14.tar.gz ~/releases/librejsxul/6.0.14/

  • Generate Makefile

    autoconf && ./configure
    
  • Make xpi file:

    jpm xpi
    
    mv librejsxul.xpi librejsxul-6.0.14.xpi
    
  • Upload xpi file to AMO. Use signed xpi from AMO for gnu servers, e.g.: gnu_librejs-6.0.14-fx.xpi

  • Upload to gnu servers, update gnu.org/s/librejs links

  • Make announcement on info-gnu and savannah.gnu.org

  • Update #librejs topic