Skip to content

v1.0.0 - Firefox only - unsigned

Latest

Choose a tag to compare

@blockindouches blockindouches released this 11 Sep 00:54

This updated version from the original DoucheBlock is still in Manifest v2 format, and unfortunately does not work in Chrome or other Chromium-based browsers, likely due to the shift to Manifest v3, and so is currently a Firefox-only extension.

This extension is still unsigned and not available through the Mozilla Add-Ons store because is still has some original DoucheBlock code for directly setting the HTML contents of GUI labeling elements, which has since been deprecated and now blocks automatic approval. Until I figure out how to fix that, or get it approved via review, the extension is available here unsigned... which means it hasn't gone through Mozilla's security checks and gotten approval for the store.

As an unsigned extension, it can only be manually installed in Firefox Developer, Librewolf (a security hardened fork of Firefox), an unbranded build of Firefox, or probably any other fork of Firefox. It does not work on regular Firefox or Firefox Beta, as they do not allow overriding a setting to allow unsigned extensions.


To load in Firefox Developer, Librewolf, or Firefox unbranded (cannot override in regular Firefox or Beta):

  • you first have to override the requirement for signatures on manually installed extensions (these directions come from the FAQ under the unbranded builds):
    • type "about:config" in the address bar and press Enter
    • search "xpinstall.signatures.required"
    • double-click that option to set it to false
    • note that re-enabling this will automatically disable all unsigned extensions
  • in extension manager, click the gear icon, then "Install Add-On from File..."
  • select the firefox.zip extension you've downloaded (or generate your own with the steps below)
  • it will display a warning about it being unverified

To build it yourself from the source on Windows:

  • Install the LTS version of node.js - 18.17.x
    • be sure to select any options to add it to the PATH and/or for "All Users", etc
  • Download the source.zip here
  • Unzip the source.zip or master.zip into a folder
  • Open cmd.exe
  • Navigate to the folder containing the source code files
  • run "npm install" to download dependencies
  • run "npm audit fix" to update required deprecated components
  • run "npm run build:ff" to create a Firefox extension as firefox.zip
    • or "npm run start:ff" to temporarily load it in debugging mode

If you'd like to try building it for Chromium browsers anyway (though it probably will not work):

  • run "npm run build" to create a Chrome extension as chrome.zip
    • or "npm run start" to temporarily load it in debugging mode
  • unzip chrome.zip into a folder
  • in the chromium browser extension manager, turn on developer mode
  • select "Load Unpacked" (or equivalent on Edge, etc)
  • navigate into the extension folder
  • choose "Select Folder"
  • it will show an error related to being Manifest v2
  • and probably will be completely broken and nonfunctional