Closed Atli-A closed 3 years ago
Sorry for the delay, been busy.
There seems to be a bit of an issue with startup. To reproduce:
The issue seems to be that the popup script isn't loaded until the popup is opened, but moving the icon setting to the main script doesn't work. Other extensions change icon dynamically so there must be a way.
Same behavior with Chrome, except it's more obvious how to test it since Chrome doesn't unload local extensions on exit. Simply turn it off, close chrome and re-open chrome. It stays off, but doesn't gray out the icon until you open the popup.
Ah! Dug through the source code of a couple other extensions that do it and it looks like we need a background script
I seem to have screwed up this branch. Git is being weird. I pushed my additions to a new PR #21. Would appropriate someone else to test it before I merge.
That's interesting I was unable to reproduce on chrome but I did run into the same issue on firefox. I guess I just didn't test for that. Thanks for the fix!
Fixing issue #2