搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Add-ons offline installation

  • 2 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 cor-el

more options

I've an offline computer running Windows. I need to install add-on to the firefox. I am running latest version of firefox on that computer. This computer with internet, would not let me install Firefox. So, I'd have to download the add-on using another browser, and then use that for offline installation of the add-on on my other computer. Any clues on how to do this?

I've an offline computer running Windows. I need to install add-on to the firefox. I am running latest version of firefox on that computer. This computer with internet, would not let me install Firefox. So, I'd have to download the add-on using another browser, and then use that for offline installation of the add-on on my other computer. Any clues on how to do this?

所有回覆 (2)

more options

I don't know if this can still be done.

Go to the add-ons webpage. Do Not select Install. Instead, download the file. Copy the file to where you want and then, with the browser open, drop the file into the browser window.

more options

When you do not use Firefox then you can't download an extension's XPI file for offline installation. You would have to spoof the user agent to a valid Firefox to be able to download the XPI file via the right-click context menu.

There is JSON data send as part of the page code that does include the download location.

You can run this code in the Web Console to get this JSON data. The Addons website prohibits via CSP to run this code as a bookmarklet.

rss=document.querySelector('#redux-store-state');
nam=document.querySelector('.AddonTitle');
prompt('JSON data\n'+nam.textContent,rss.textContent);
JSON.parse(rss.textContent);

I've added a screenshot that shows an example where to look to the download URL.

  • versions -> GetId -> {id} -> platformFiles -> {all or windows} -> url