Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

Add-ons offline installation

  • 2 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა cor-el

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)

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.

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