Is there a good reason you want to do this?
I always recommend that you do not perform browser detection. In almost every case, when people want to use it, it is better to use the object detection function. If you find out if the function you support is supported, you will automatically start supporting new versions of other browsers when they catch up, without constant work, so that your site is updated, as with browser detection scripts.
To discover features, one of the best tools I can offer is to use Modernizr .
For browser discovery - especially the brand of a new browser such as Opera11, I cannot offer anything that will be perfect. The correct answer is to look at the User Agent line, but this can be easily changed by the user to trick another browser (and often this is especially true for Opera users, since they most often try to bypass sites that make the browser and try to block them)
Spudley Jan 10 2018-11-11T00: 00Z
source share