I'm making a webpage for a browser extension and I want the download button to automatically download the relevant file for the browser the user is on.
I've found that jQuery's $.browser feature is now deprecated, so is there an easy way of detecting the user's browser?
webkitbut not if it is chrome, safari or another browser that uses webkit. So probably a server side detection would be better using browscap or similar library. And using that to deliver the right extension. That way you would not need javascript to be activated.