0

im currently trying to implement a dynamic addon for my firefox addon. I want to add a counter as is used by honey oder AddBlock AddBlock Icon

I cant find any explanation on the MDN developer guidelines on how to achive this though... I know that I can set a new icon using

browser.browserAction.setIcon({path: "/path/to/image"});

but that would require me to create an image for every instance and rescale the image accordingly.

sebsch
  • 1

1 Answers1

0

Presumably, you need to add a script for that. This is rough example and resource Changing website favicon dynamically

  • Thanks for the reply, i already got that figured out. But that alone wont solve the problem of adding the counter. Espacially because the counter is not within the boundaries of the normal icon, but semes to be an extra layer ontop of the icon. – sebsch Jan 04 '22 at 20:58