Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Check web extension update after FF restart

  • 5 trả lời
  • 1 gặp vấn đề này
  • 8 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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 ?

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (5)

more options

Giải pháp được chọn

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!