Should you use User Agent to see if a javascript api is available (examples: Audio class, history.pushState)?
Anonymous
It took me a while to remember what a User Agent is, but my answer is something like "No, you should check if the feature is available and if it is not available, use a fallback regardless of the browser that is being used."
Check out your Company Bowl for anonymous work chats.