Vlad
Hello Vladimir,
There is a bug in Orion that chrome.browserAction.setIcon
could not accept imageData
as option.
https://orionfeedback.org/d/6734-browserbrowseractionseticon-does-not-work-with-imagedata
We hope that this can be fixed soon.
As a temporary solution, we might need to disable the icon caching feature for Orion.
There is no a direct way to detect Orion.
One suggestion is that Orion should provide navigator.userAgentData
as Chrome and Brave do.
https://orionfeedback.org/d/6732-navigatoruseragentdata-is-undefined
Another way is that to determine Orion like this.
const IS_ORION = typeof webkitIndexedDB === 'object' && chrome.contentScripts && !navigator.userAgentData;
There are few concerns from Violentmonkey's developer.
Hope you can answer ASAP so that we can apply our temporary solution before the official fix from Orion comes.