I am trying to find out what browser the enduser of my Anvil app is using.
I have tried: user_agent = anvil.js.window.navigator.userAgent
but this gives me the following output which is not usable:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
I need to know if the browser is: Chrome, Edge or Safari.
How should I do that?