I'm working on porting a Firefox add-on to Chromium-based browsers. Detecting whether the add-on is running on Chromium or Firefox is easy because Chromium doesn't have the "browser" object, but is there no API to tell what Chromium-based browser it's running on?
I don't see any way to tell if the extension is running on Google Chrome or Microsoft Edge or Opera. Each browser is a little different in the naming of some features (like Private Browsing, for example) and I'd like to have that terminology change dynamically in my add-on depending on what browser it's running on.
How can this be done?