MozillaZine


[SOLVED] Firefox Color extension import problem

Announce and Discuss the Latest Theme and Extension Releases.
ineuw

User avatar
 
Posts: 621
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

Post Posted September 17th, 2020, 2:24 pm

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.
Windows 10 Pro and Linux Mint 20.0 Cinnamon 64 bit, with the latest FF releases (currently 80beta6 en-US).

morat
 
Posts: 4201
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 18th, 2020, 10:49 am

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

ineuw

User avatar
 
Posts: 621
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

Post Posted September 18th, 2020, 11:17 am

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)"
    }
  }
}
Windows 10 Pro and Linux Mint 20.0 Cinnamon 64 bit, with the latest FF releases (currently 80beta6 en-US).

ineuw

User avatar
 
Posts: 621
Joined: March 19th, 2006, 4:17 pm
Location: Québec, Canada

Post Posted September 18th, 2020, 10:03 pm

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.
Windows 10 Pro and Linux Mint 20.0 Cinnamon 64 bit, with the latest FF releases (currently 80beta6 en-US).

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 1 guest