X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

Check web extension update after FF restart

Veröffentlicht

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.

Ausgewählte Lösung

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 ?

Diese Antwort im Kontext lesen 0

Mehr Details zum System

Installierte Plugins

  • Shockwave Flash 25.0 r0

Anwendung

  • User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0

Weitere Informationen

Shadow110 1072 Lösungen 14836 Antworten
Veröffentlicht

Ausgewählte Lösung

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 ?

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 ?

Fragesteller

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?

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?
Shadow110 1072 Lösungen 14836 Antworten
Veröffentlicht

Hilfreiche Antwort

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/

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/
jscher2000
  • Top 10 Contributor
8770 Lösungen 71713 Antworten
Veröffentlicht

Hilfreiche Antwort

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

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

This following site is better than this forum for add-on developer questions: https://discourse.mozilla-community.org/c/add-ons

Fragesteller

Got it. Thank you!

Got it. Thank you!