Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Extension icon is broken.

  • 1 Antwort
  • 1 hat dieses Problem
  • 6 Aufrufe
  • Letzte Antwort von 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?
Angefügte Screenshots

Geändert am von Bellozzz

Ausgewählte Lösung

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.

Diese Antwort im Kontext lesen 👍 1

Alle Antworten (1)

more options

Ausgewählte Lösung

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.