Welcome Guest, Not a member yet? Register   Sign In
user_agent Chrome as Opera ?
#1
Bug 

Hi,

I got this with :

Code:
...
'user_agent : '.$this->input->user_agent(),
'platform : '.$this->agent->platform(),
'browser : '.$this->agent->browser(),
'version : '.$this->agent->version(),
...

give 

Code:
user_agent : Mozilla/5.0 (Linux; Android 8.0.0; ONEPLUS A3003 Build/OPR6.170623.013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36
platform : Android
browser : Opera
version : 6.170623.013

Opera ?? I think it is a bug ...
Regards,
Reply
#2

(This post was last modified: 12-10-2017, 11:00 AM by ciadmin.)

Related topic : https://www.sencha.com/forum/showthread....d-as-Opera
Reply
#3

(This post was last modified: 12-14-2017, 03:15 AM by sthienard.)

Well, I simply comment the first line in config\user_agents.php

Code:
'OPR' => 'Opera',

Code:
//'OPR' => 'Opera',

Because of this :
ONEPLUS A3003 Build/OPR6.170623.013

Regards,
Reply
#4

(12-06-2017, 07:38 AM)sthienard Wrote: Hi,

I got this with :

Code:
...
'user_agent : '.$this->input->user_agent(),
'platform : '.$this->agent->platform(),
'browser : '.$this->agent->browser(),
'version : '.$this->agent->version(),
...

give 

Code:
user_agent : Mozilla/5.0 (Linux; Android 8.0.0; ONEPLUS A3003 Build/OPR6.170623.013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36
platform : Android
browser : Opera
version : 6.170623.013

Opera ?? I think it is a bug ...
Regards,
I am using device-detector from piwik.

https://github.com/piwik/device-detector
https://www.codeigniter.com/user_guide/g...oader.html
Reply
Reply




Theme © iAndrew 2016 - Forum software by © MyBB