Operator Opera: Opera or OPR?

Most specialized sites mention that all Opera user agents contain the word "Opera . "

This old post from the Opera developer mentions the line "OPR" .

The fact is that my site is regularly visited by OPR browsers, and not one of Opera .

Example this morning:

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.42

Passing the UA strings of our visitors to several online UA analyzers has returned the verdict that “OPR” is plain Chrome.

Can anyone confirm if the real Opera browsers have “Opera” in their user agent?

+4
source share
1 answer

According to http://www.useragentstring.com/pages/Opera/ Opera uses Opera. But this is only for versions up to 12.
According to the official page ( https://dev.opera.com/blog/opera-user-agent-strings-opera-15-and-beyond/ ), version 15 and above uses OPR.

So, I would use regex for both, OperaandOPR

+6
source

Source: https://habr.com/ru/post/1624762/


All Articles