Buscar en Ayuda

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.

Learn More

Extension icon is broken.

  • 1 respuesta
  • 1 tiene este problema
  • 6 visitas
  • Última respuesta de 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?
Capturas de pantalla adjuntas

Modificadas por Bellozzz el

Solución elegida

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.

Leer esta respuesta en su contexto 👍 1

Todas las respuestas (1)

more options

Solución elegida

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.