GNU/Linux and Mac OS
- Go to the project repository: https://pagure.io/JShelter/webextension.
- Download the desired branch, e.g. as zip archive.
- Unpack the zip archive.
- Run
make
.- You will need common software, such as
zip
,wget
,bash
,awk
,sed
. - Note that running
make
removes allconsole.debug
calls. If you want to keep such calls, runmake debug
.
- You will need common software, such as
- Import the extension to the browser.
- Firefox
- Open
about:debugging
. - Click the This Firefox option
- Click the Load Temporary Add-on button
- Select the file
jshelter_firefox.zip
created bymake
.
- Open
- Chromium-based browsers:
- Open
chrome://extensions
. - Enable developper mode.
- Click
Load unpacked
. - Import the
jshelter_chrome/
directory created bymake
.
- Open
- Firefox
Windows
- Install Windows Subsystem for Linux (WSL): https://docs.microsoft.com/en-us/windows/wsl/install-win10.
- Go to the project repository: https://pagure.io/JShelter/webextension.
- Download the desired branch, e.g. as zip archive.
- Unpack the zip archive.
- Open the JShelter project folder in WSL, run
make
.- Make sure that
zip
and all other necessary tools are installed. - Note that EOL in
fix_manifest.sh
must be set toLF
(you can use the tooldos2unix
in WSL to convertCR LF
toLF
).
- Make sure that
- On Windows, import the extension to the browser according to the instructions for Linux (above).