Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Check web extension update after FF restart

  • 5 отговора
  • 1 има този проблем
  • 8 изгледи
  • Последен отговор от 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.

Избрано решение

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 ?

Прочетете този отговор в контекста 👍 0

Всички отговори (5)

more options

Избрано решение

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