Skip to content

LibreWolf can't install addons from Mozilla if ResistFingerprinting is disabled #260488

Description

@awebeer256

Describe the bug

The Nix build of LibreWolf (package librewolf) changes the substring, "Firefox," to, "LibreWolf," in the browser's user agent string. As a result, addons.mozilla.org believes that your browser is not Firefox, and so it is impossible to install addons normally from that website.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to about:preferences#librewolf
  2. Uncheck the box, "Fingerprinting" -> "Enable ResistFingerprinting"
  3. Go to the AMO page for any extension that is not currently installed, e.g. Emoji

Expected behavior

There is a button to install the extension.

Observed behavior

There is the message, "You'll need Firefox to use this extension," and a button to download Firefox.

Screenshots

None provided.

Additional context

This bug was fixed in the LibreWolf team's packages at least a year and a half ago, and I confirmed that it doesn't currently exist in their Flatpak package. I didn't check whether it exists in the librewolf-unwrapped Nix package.

Notify maintainers

@squalus

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.55, NixOS, 23.05 (Stoat), 23.05.4112.5a237aecb572`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.5`
 - channels(root): `"nixos-23.05, nixos-unstable"`
 - channels(<username>): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions