Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Check web extension update after FF restart

  • 5 replies
  • 1 has this problem
  • 8 views
  • Paskiausią atsakymą parašė SergeyTemchenko

more options

Hello, we need help with some update issue. Some time ago we've used web extension auto update. Once we uploaded new version to our host, web extension showed popup and suggested to restart browser. Also, when extension lost focus and popup faded, we called "browser.runtime.reload()" - that forced browser to make immediately check update, also as i know, just after restart, browser did check update, so after these two actions user had last extension version. Few days ago we've notices that these actions stopped working. Neither runtime.reload() nor browser restart don't call check update and now we have to wait some time, when browser decide to check it. Was it temporary bug or our mistake and these shouldn't work(check update) at all? Thank you.

Hello, we need help with some update issue. Some time ago we've used web extension auto update. Once we uploaded new version to our host, web extension showed popup and suggested to restart browser. Also, when extension lost focus and popup faded, we called "browser.runtime.reload()" - that forced browser to make immediately check update, also as i know, just after restart, browser did check update, so after these two actions user had last extension version. Few days ago we've notices that these actions stopped working. Neither runtime.reload() nor browser restart don't call check update and now we have to wait some time, when browser decide to check it. Was it temporary bug or our mistake and these shouldn't work(check update) at all? Thank you.

Chosen solution

Please consider turning on send info to Mozilla before posting a question. This helps us help you.

Uninstall Shockwave Flash 25.0 r0 as it is a security risk and more. Update to Flash Player Version: 27.0.0.183 https://get.adobe.com/flashplayer/otherversions/ Step 1: Select Operating System Step 2: Select A Version (Firefox, Win IE . . . .) Note: Other software is offered in the download. <Windows Only>

Trying to figure out why you are running Firefox 48 as it is a security risk. If this is in a Enterprise situation you should be running ESR 52.4.1 https://www.mozilla.org/en-US/firefox/organizations/ this version still gets security updates.

No idea on your issue. Please explain your deployment more ?

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (5)

more options

Chosen Solution

Please consider turning on send info to Mozilla before posting a question. This helps us help you.

Uninstall Shockwave Flash 25.0 r0 as it is a security risk and more. Update to Flash Player Version: 27.0.0.183 https://get.adobe.com/flashplayer/otherversions/ Step 1: Select Operating System Step 2: Select A Version (Firefox, Win IE . . . .) Note: Other software is offered in the download. <Windows Only>

Trying to figure out why you are running Firefox 48 as it is a security risk. If this is in a Enterprise situation you should be running ESR 52.4.1 https://www.mozilla.org/en-US/firefox/organizations/ this version still gets security updates.

No idea on your issue. Please explain your deployment more ?

more options

OK, i'll try. - user works with extension v 1.0 - we upload new version to our host v 2.0 - Web extension checks for update(request to our backend), find new version and show notification to user. This message suggest user to restart browser. - once user close extension popup, it calls "browser.runtime.restart ()". - our developer told me, that restart () forced browser to check extension update and install it. - after restart () user had extension v 2.0.

Now - we upload v 2.0 - extension see new version, ask about browser restart. - popup loose focus, but version still v 1.0 - I tried to call browser.runtime.reload () manually, but it still doesn't install v 2.0 - only after N hours, when browser decides to check updates it install new version.

So can I force install updates for my extension somehow?

more options

You are beyond us here in support. Can not help you in code. Try http://forums.mozillazine.org/viewforum.php?f=27 or https://www.mozilla.org/en-US/about/forums/

more options

This following site is better than this forum for add-on developer questions:

https://discourse.mozilla-community.org/c/add-ons

more options

Got it. Thank you!