We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Add-ons offline installation

  • 2 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 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