In Opera twenty five like, this is actually the returned sequence:
Discovering Opera fifteen and above
Opera starting in Opera 15+ to the each other desktop and Android spends brand new Chromium motor under the hood (an identical motor you to definitely powers Google Chrome), and with the head transplant, today production a userAgent string which is way more Chrome than simply Opera.
From Opera in itself: Toward all the platforms, new digits immediately following “OPR/” show variation and you can small type number – in such a case “25.0” (These numbers are interior identifiers and build number.). Opera fifteen+ to have Android os has got the sequence “Mobile” and then have include “OPR/” followed by variation matter, since one another Opera fifteen+ to have desktop and you can Android os derive from Chromium twenty eight.
It indicates to help you detect in case your associate is using Opera fifteen+, we are able to merely come across brand new “OPR/” token in to the userAgent , in order to position the adaptation, parse out the floating point amount one to follows. Case in point of any:
Finding dated models away from Opera (pre Opera fifteen)
For the Opera pre adaptation 15, there is certainly a house screen.opera you to definitely yields correct so you’re able to rapidly filter men and women web browsers since the a group. However, acquiring the specific version gets a whole lot more confounding, stemming on the browser’s earlier split character. You see, Opera 8 and you may below automagically relates to by itself as the IE6 (otherwise all the way down) on the navigator object. Pages can also be override that it setting below “Edit Website Settings” regarding toolbar to determine once the Opera otherwise some other web browser rather. (περισσότερα…)