Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Extension icon is broken.

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 6 回表示
  • 最後の返信者: cor-el

more options

I have an extension called "Undo Close Tab" installed, it works well since one day the icon in the toolbar changes.

The first idea is the author changes the icon and Firefox automatically upgrade this extesion.

But no.

After some test I think Firefox seems to cache the wrong icon at some place.

I use Browser Toolbox to debug this element and find the icon data is inline, not refer to the resource inside the extension.

Also try to remove and reinstall the extension, or disable other extensions, but not helpful.

Even I modify the icon file name in manifest.json then repack the extionsion, install it with Firefox debugger, the icon on the toolbar is still unchanged.

I guess a refresh to Firefox may fix it but I don't want to do that because all the preferences will lost.

So is there a icon cache in Firefox? Is there another way to fix this?

I have an extension called "Undo Close Tab" installed, it works well since one day the icon in the toolbar changes. The first idea is the author changes the icon and Firefox automatically upgrade this extesion. But no. After some test I think Firefox seems to cache the wrong icon at some place. I use Browser Toolbox to debug this element and find the icon data is inline, not refer to the resource inside the extension. Also try to remove and reinstall the extension, or disable other extensions, but not helpful. Even I modify the icon file name in manifest.json then repack the extionsion, install it with Firefox debugger, the icon on the toolbar is still unchanged. I guess a refresh to Firefox may fix it but I don't want to do that because all the preferences will lost. So is there a icon cache in Firefox? Is there another way to fix this?
添付されたスクリーンショット

この投稿は Bellozzz により に変更されました

選ばれた解決策

There is an iconupdater.js file that creates a new SVG image as data URI in the extension that is likely the cause of this issue.

この回答をすべて読む 👍 1

すべての返信 (1)

more options

選ばれた解決策

There is an iconupdater.js file that creates a new SVG image as data URI in the extension that is likely the cause of this issue.