?
avatar sergey-zero
sergey-zero
16 Nov 2015

Hi! I'm using the Opera 33.0.
My user agent is:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 OPR/33.0.1990.58

But JBrowser say it's the Chrome.
If i add this code (like chrome detection) into joomla.environment.browse

elseif (preg_match('|OPR[/ ]([0-9.]+)|', $this->agent, $version))
{
    $this->setBrowser('opera');
    list ($this->majorVersion, $this->minorVersion) = explode('.', $version[1]);
}

all working nice

avatar sergey-zero sergey-zero - open - 16 Nov 2015
avatar zero-24
zero-24 - comment - 16 Nov 2015

Hi,
Can you send your changes as pull request against the staging branche?

Here you can find help if you need help with it.

https://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests

If we have a pull request we can easy test and merge you changes. Thanks.

avatar zero-24
zero-24 - comment - 16 Nov 2015

Closing as we have a PR. Great Thanks #8449

avatar zero-24 zero-24 - change - 16 Nov 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-11-16 16:12:14
Closed_By zero-24
avatar zero-24 zero-24 - close - 16 Nov 2015
avatar brianteeman brianteeman - close - 16 Nov 2015
avatar brianteeman brianteeman - change - 14 Dec 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment