GNU/Linux and Mac OS
- Go to the project repository: https://github.com/polcak/jsrestrictor.
- Download the desired branch, e.g. as zip archive.
- Unpack the zip archive.
- Run
git submodule update
- Run
make
.- You will need common software, such as
zip
,wget
,bash
,awk
,sed
.
- You will need common software, such as
- Import the extension to the browser.
- Firefox: https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
- Use the file
firefox_JSR.zip
created bymake
.
- Use the file
- Chromium-based browsers:
- Open
chrome://extensions
. - Enable developper mode.
- Click
Load unpacked
. - Import the
chrome_JSR/
directory created bymake
.
- Open
- Firefox: https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
Windows
- Install Windows Subsystem for Linux (WSL): https://docs.microsoft.com/en-us/windows/wsl/install-win10.
- Go to the project repository: https://github.com/polcak/jsrestrictor.
- Download the desired branch, e.g. as zip archive.
- Unpack the zip archive.
- Run
git submodule update
- Open the JSR 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).