Project

General

Profile

Installation instructions (browser extension Mozilla) » History » Version 11

koszko, 10/01/2021 10:20 PM
Mention the existence of Mozilla-signed build of Haketilo. TODO: make this into 2 separate guides: 1 describing how to install signed Haketilo and another one for the unsigned version (in case someone wants to run a self-built one).

1 1 koszko
# Installation instructions (Mozilla)
2 2 koszko
3 5 jahoti
Here we'll describe how to install Haketilo from a .xpi file. Extensions in Firefox and its derivatives are often installed from the Mozilla Add-ons website (AMO), but for the sake of privacy and freedom, you should not use it!
4 1 koszko
5 11 koszko
~~Right now we only provide an unsigned .xpi extension file. This means it hasn't been cryptographically signed by Mozilla and therefore some of Mozilla browsers and even derivatives will refuse to install it. While we're going to provide a signed version of the extension soon,~~ We now provide a Mozilla-signed build of Haketilo that should easily install on any Firefox build. Some of the instructions below still need to be updated to reflect that.
6 3 koszko
7 1 koszko
## Browser compatibility
8
9
Haketilo is currently compatible with browsers based on Mozilla Firefox 60 and upwards. It has been tested against LibreWolf 90.0.2, Tor Browser 10.0.17, Parabola Iceweasel 75 and IceCat 60 (although for security reasons you should probably avoid browsers as old as the last 2).
10 11 koszko
11
You are strongly encouraged to use a Firefox derivative that ~~isn't malware~~ respects your freedom and privacy (i.e. does not snoop on you). Valid options are browsers in some of the ["ethical" GNU/Linux distros](https://www.gnu.org/distros/free-distros.html#for-pc) like Parabola and Trisquel, the Tor Browser, and LibreWolf[^*].
12
13
[^*]: A LibreWolf bug that appeared around version 90.0 used to cause extension signatures to be required, but this has apparently since been fixed.
14 3 koszko
15
## Steps
16
17 9 koszko
First, download the extension's .xpi file from  the [[Releases]]. You can also download the PGP signature to verify the file hasn't been tampered with (although it is of limited benefit unless you have a proof developer's [signing key](https://koszko.org/key.gpg) does indeed belong to him...). After downloading, go to the `about:addons` URL. In the extensions management page that shows up, click on the gear icon and select "Install Add-on From File...".
18 3 koszko
19 7 jahoti
![extensions page](mozilla_install_from_file.png)
20 3 koszko
21
Now, navigate to the downloaded .xpi file and select it.
22
23 6 jahoti
![navigating to the extension file](navigate_extension_xpi_file.png)
24 3 koszko
25
*Note: If, at this point, your browser shows you an error message about extension file being invalid, but you're sure the browser supports installation of unsigned extensions, go to the `about:config` URL, confirm the warning prompt that appears, search for the `xpinstall.signatures.required` preference and double-click it to toggle its value to "false".*
26
27 5 jahoti
You should be presented with a dialog asking whether to add Haketilo to your browser. Once you click "Add", the add-on will install.
28 3 koszko
29 7 jahoti
![adding Haketilo](mozilla_add_hachette.png)
30 3 koszko
31 5 jahoti
The browser might ask whether you want to allow Haketilo to run in private windows. If you installed Haketilo for its script-blocking capabilities, then you most likely also want that and you can check this option. Otherwise, it is a perfectly valid approach to aim for a purely script-less experience in private browsing windows and use an add-on like NoScript or uBlock Origin there instead of Haketilo.
32 1 koszko
33 7 jahoti
![Haketilo installed, allowing extension to run in private windows](mozilla_hachette_installed_allow_private.png)
34 3 koszko
35 8 jahoti
*Important aside: in some browsers, extensions are by default blocked from running on privileged domains. This is done as a security measure to prevent add-ons exploiting "sync", the add-ons website, etc. to gain unauthorized powers, but prevents Haketilo from applying policies there. If you feel this is a bigger problem than malicious extensions, go to the `about:config` URL, confirm the warning prompt that appears, and search for the `extensions.webextensions.restrictedDomains` preference; if it appears, double-click on it, erase any text and press "enter" to unprivilege all websites.*
36
37 5 jahoti
That's it. You can now play a bit with the extension and [[User manual#Understanding-the-concepts|learn how it works]]. Also, make sure you realize its [[Known limitations|limitations]].