X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Install extension silently in Firefox 41

Được đăng

I'm making automatic installer for special Firefox extensions. I have read couple of articles about that, but none of the described methods are not helped. What I tried to do:

- Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\browser\extensions
- Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\extensions
- Placed unpacked extension directory in another directory and added record in registry (`HKLM\Software\Mozilla\Firefox\extensions`, key is extension id and value is full path to unpacked extension)

In all ways name of unpacked extension directory was:

- Random name
- ID from install.rdf #1 (`{ec8030f7-c20a-464f-9b0e-13a3a9e97384}` for example)
- ID from install.rdf #2 (`prism@developer.mozilla.org` for example)  

And, as i said, all methods don't give me expectable result. Firefox don't show extensions in list and don't show any notification. How can i solve it? What actual method using in current version of FF? Target browser is Firefox 41, system - Windows 7 x64 Thanks!

I'm making automatic installer for special Firefox extensions. I have read couple of articles about that, but none of the described methods are not helped. What I tried to do: - Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\browser\extensions - Placed .xpi file and unpacked unpacked extension directory in %FF_DIR%\extensions - Placed unpacked extension directory in another directory and added record in registry (`HKLM\Software\Mozilla\Firefox\extensions`, key is extension id and value is full path to unpacked extension) In all ways name of unpacked extension directory was: - Random name - ID from install.rdf #1 (`{ec8030f7-c20a-464f-9b0e-13a3a9e97384}` for example) - ID from install.rdf #2 (`prism@developer.mozilla.org` for example) And, as i said, all methods don't give me expectable result. Firefox don't show extensions in list and don't show any notification. How can i solve it? What actual method using in current version of FF? Target browser is Firefox 41, system - Windows 7 x64 Thanks!

Giải pháp được chọn

See also:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.

  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi
Đọc câu trả lời này trong ngữ cảnh 1

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • 5.1.20513.0

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

Thông tin chi tiết

Sashoto Seeam 54 giải pháp 310 câu trả lời
Được đăng

Support Forum is for general problem. It will be better if you ask help in proper channel. As far as I know these are the valid and most proper channels for seeking help about addons:

Hope you will get help from these links.

Support Forum is for general problem. It will be better if you ask help in proper channel. As far as I know these are the valid and most proper channels for seeking help about addons: * Forum: https://discourse.mozilla-community.org/c/add-ons * Mailing list: dev-amo@lists.mozilla.org Hope you will get help from these links.
cor-el
  • Top 10 Contributor
  • Moderator
17567 giải pháp 158888 câu trả lời
Được đăng

Giải pháp được chọn

See also:

{ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.

  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi
See also: *https://developer.mozilla.org/en-US/docs/Adding_Extensions_using_the_Windows_Registry {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension. * {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi * prism@developer.mozilla.org.xpi

Người tạo câu hỏi

cor-el said

See also: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension.
  • {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi
  • prism@developer.mozilla.org.xpi

Thank you! In fact - I used an incorrect ID (both from "targetApplication"). Now I was able to install the plug-in by copying plugin directory to %FF_DIR%\browser\extensions.

''cor-el [[#answer-801157|said]]'' <blockquote> See also: *https://developer.mozilla.org/en-US/docs/Adding_Extensions_using_the_Windows_Registry {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is the GUID of Firefox and not the ID of the extension, so make sure to use the ID of the extension under Description > id and not the 'id' listed under 'targetApplication' and surround a GUID with curly brackets and append the .xpi file extension. * {8A6C82A1-F6C9-481a-AAE7-C96444C9A754}.xpi * prism@developer.mozilla.org.xpi </blockquote> Thank you! In fact - I used an incorrect ID (both from "targetApplication"). Now I was able to install the plug-in by copying plugin directory to ''%FF_DIR%\browser\extensions''.

Được chỉnh sửa bởi iRomul vào