JavaScript Restrictor
Browser extension that improves privacy and security
build

Title: Building from scratch

GNU/Linux and Mac OS

  1. Go to the project repository: https://github.com/polcak/jsrestrictor.
  2. Download the desired branch, e.g. as zip archive.
  3. Unpack the zip archive.
  4. Run make.
    • You will need common software, such as zip, wget, bash, awk, sed.
    • Note that running make removes all console.debug calls. If you want to keep such calls, run make debug.
  5. Import the extension to the browser.

Windows

  1. Install Windows Subsystem for Linux (WSL): https://docs.microsoft.com/en-us/windows/wsl/install-win10.
  2. Go to the project repository: https://github.com/polcak/jsrestrictor.
  3. Download the desired branch, e.g. as zip archive.
  4. Unpack the zip archive.
  5. 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 to LF (you can use the tool dos2unix in WSL to convert CR LF to LF).
  6. On Windows, import the extension to the browser according to the instructions for Linux (above).