[SOLVED] Firefox Color extension import problem

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
ineuw
Posts: 743
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

[SOLVED] Firefox Color extension import problem

Post by ineuw »

Using FF 80.0.1 en-US and I am trying to import the .xpi file generated by the Firefox Color extension, but it says that it's corrupt. This is whether the "File Open" or "Install Extension from file" method is used. Does anyone know how I can fix this, or should I report this issue to Bugzilla since it's a Mozilla product?

P.S: This is same in Windows 10 or Linux Mint Cinnamon 20.0.
Last edited by ineuw on September 18th, 2020, 10:03 pm, edited 1 time in total.
Firefox 115.0.2 (default install) in Linux Mint 21.2 Cinnamon 64 bit, updated on 2023-07-31 00:05
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Firefox Color extension import problem

Post by morat »

Try opening the .xpi file in Notepad.

A zip file should start with "PK". ( i.e. hexadecimal 504B )

If it starts with "<!DOCTYPE html>" or "<html>", then it's not a zip file.

Firefox Color
http://addons.mozilla.org/firefox/addon/1004409
http://color.firefox.com/

...

Here is a comment by a Mozilla employee.

Firefox Color Corrupt File
http://discourse.mozilla.org/t/46802
User avatar
ineuw
Posts: 743
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

Re: Firefox Color extension import problem

Post by ineuw »

It is a PK file and the screenshot of the contents are posted on https://imagesharing.com//photo.php?s=063nctvp

The contents of the accompanying zipped manifest.json are

Code: Select all

{
  "manifest_version": 2,
  "version": "1.0",
  "name": "ineuw",
  "theme": {
    "images": {},
    "properties": {},
    "colors": {
      "toolbar": "rgb(7, 50, 84)",
      "toolbar_text": "rgb(245, 255, 1)",
      "frame": "rgb(14, 41, 65)",
      "tab_background_text": "rgb(75, 204, 227)",
      "toolbar_field": "rgb(255, 255, 255)",
      "toolbar_field_text": "rgb(0, 0, 0)",
      "tab_line": "rgb(218, 67, 155)",
      "popup": "rgb(7, 50, 84)",
      "popup_text": "rgb(245, 255, 1)",
      "tab_loading": "rgb(218, 67, 155)"
    }
  }
}
Firefox 115.0.2 (default install) in Linux Mint 21.2 Cinnamon 64 bit, updated on 2023-07-31 00:05
User avatar
ineuw
Posts: 743
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

Re: Firefox Color extension import problem

Post by ineuw »

morat wrote:Try opening the .xpi file in Notepad.
Firefox Color Corrupt File
http://discourse.mozilla.org/t/46802
Much thanks. I must register it with Mozilla.
Firefox 115.0.2 (default install) in Linux Mint 21.2 Cinnamon 64 bit, updated on 2023-07-31 00:05
Post Reply