nurpa / betterlex-bookmarklet

Improve readability of the online Belgian consolidated legislation
GNU General Public License v3.0
4 stars 0 forks source link

Better Lex bookmarklet

Better Lex bookmarklet is a tool for improving readability of the online Belgian consolidated legislation. It requires a modern Web browser, such as Firefox.

Installing

See Better Lex updater/installer (en, fr, nl) or, if you are familiar with bookmarklets, grab the latest build on github.

Screenshots

Before After After (dark theme)
title-before title-after title-after-dark
article-before article-after article-after-dark
updates-before updates-after updates-after-dark

Code overview

Here is the structure of this project.

betterlex-bookmarklet
├── bin
│   ├── bookmarklet_fr.js
│   └── bookmarklet_nl.js
├── lib
├── scripts
│   ├── build
│   └── install
├── src
│   ├── main.css
│   ├── main.js
│   ├── translations.json
│   └── utility.js
├── CREDITS
├── LICENSE
└── README.md

How to build the bookmarklet from scratch

Dependencies

Download and install dependencies

You can use the following bash script to install the project’s dependencies.

./scripts/install

Build the bookmarklet

Once the dependencies are installed, you just need to run this build script to generate both the French and Dutch versions of the bookmarklet.

./scripts/build

License

This is free/libre software, made available under the terms of the GNU General Public License (GPLv3).