Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Extension icon is broken.

  • 1 ответ
  • 1 имеет эту проблему
  • 5 просмотров
  • Последний ответ от 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.