user_agent Chrome as Opera ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: user_agent Chrome as Opera ? (/showthread.php?tid=69507) |
user_agent Chrome as Opera ? - sthienard - 12-06-2017 Hi, I got this with : Code: ... 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 Opera ?? I think it is a bug ... Regards, RE: user_agent Chrome as Opera ? - sthienard - 12-10-2017 Related topic : https://www.sencha.com/forum/showthread.php?375334-Android-Oreo-Chrome-with-ExtJs-6-5-1-Browser-detected-as-Opera RE: user_agent Chrome as Opera ? - sthienard - 12-14-2017 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, RE: user_agent Chrome as Opera ? - Paradinight - 12-15-2017 (12-06-2017, 07:38 AM)sthienard Wrote: Hi,I am using device-detector from piwik. https://github.com/piwik/device-detector https://www.codeigniter.com/user_guide/general/autoloader.html RE: user_agent Chrome as Opera ? - rolly - 01-03-2018 try https://github.com/donatj/PhpUserAgent https://github.com/WhichBrowser/Parser-PHP powerful |