Is it possible to specify per browser permissions?
So, the context around this question is that my extension leverages the
tabGroups
API, which isn't available in Firefox, and doesn't seem likely to be implemented for a very long time, but I would still like to be able to release something for Firefox.
I know that I can add logic that only executes code on certain browsers, which is checked at compile-time, but is there anything I can do to have the tabGroups
permission (for example) only be requested in compiled manifests targeting a specific browser?6 Replies
you can try using environment variable for this IMO
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
I guess we really need to push that plasmo.config.ts feature haha
Didn't realize that requesting an invalid permission just resulted in a warning (not an error), I guess if it doesn't break anything at that point that this is fine 🤷♂️ thanks @louis!
Gave +1 Rep to @louis
really need this