ylecuyer / envify

Colorify tabs with current env
https://addons.mozilla.org/en-US/firefox/addon/envify/
40 stars 5 forks source link

Firefox v89 Support #30

Open ghost opened 3 years ago

ghost commented 3 years ago

Firefox v89 introduced a new UI and a new default theme supported by Firefox fresh out of the box. Envify fails to reset its environment color now when you cycle to another tab.

It would also be nice to have the colors reset back to the default theme applied, rather than to white when not on a set domain, as that means once you've visited a site with a programmed color, you never see your default theme again until you close and open again.

While I'm here, might I suggest themes that can be applied, rather than just a static color when on certain URLs?

Love the plugin. Keep up the awesome work. Fen.

ylecuyer commented 3 years ago

Envify fails to reset its environment color now when you cycle to another tab.

Could you make a screencast to be sure we are on the same page here? It looks like a known bug of firefox, you should try disabling the extension when choosing your them then enable it back.

While I'm here, might I suggest themes that can be applied, rather than just a static color when on certain URLs?

This is not possible afaik the API only allows to change colors

jgato commented 3 years ago

Could you make a screencast to be sure we are on the same page here? It looks like a known bug of firefox, you should try disabling the extension when choosing your them then enable it back.

This workaround does not work. I have any any default tab with the Firefox selected theme:

image

So now I change to a tab controlled by envify, like whatsapp, that in my case, green'ify my firefox:

image

back to the initial tab (not controlled by envify), everything still green'ify instead of default firefox theme:

image

ylecuyer commented 3 years ago

This is a bug in the firefox API for themes not whitelisting moz-extension:// uri for resources

Screenshot_2021-06-10_13-31-15

I have opened a bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1715753 you can follow, meanwhile there is nothing that can be done from the extension side, it will work only with color only themes (like default theme or dark theme)