• Resolved v.dupont

    (@vdupont)


    Hello

    I installed Opera today for a test, and I notice that your plugin detects it as Chrome 33.0 (while the Opera is v 20.0 and Chrome latest version is 34.0)

    here is the dump of php_browser_info():
    ‘browser_name_pattern’ => string ‘Mozilla/5.0 (*Windows NT 6.1*) AppleWebKit/* (KHTML, like Gecko)*Chrome/33.*Safari/*’ (length=84)
    ‘browser_name_regex’ => string ‘^mozilla/5\.0 (.*windows nt 6\.1.*) applewebkit/.* (khtml, like gecko).*chrome/33\..*safari/.*$’ (length=95)
    ‘comment’ => string ‘Chrome 33.0’ (length=11)
    ‘browser’ => string ‘Chrome’ (length=6)
    ‘version’ => string ‘33.0’ (length=4)
    ‘majorver’ => string ’33’ (length=2)
    ‘minorver’ => string ‘0’ (length=1)
    ‘platform’ => string ‘Win7’ (length=4)
    ‘platform_version’ => string ‘6.1’ (length=3)
    ‘alpha’ => string ‘false’ (length=5)
    ‘beta’ => string ‘false’ (length=5)
    ‘win16’ => string ‘false’ (length=5)
    ‘win32’ => string ‘true’ (length=4)
    ‘win64’ => string ‘false’ (length=5)
    ‘frames’ => string ‘true’ (length=4)
    ‘iframes’ => string ‘true’ (length=4)
    ‘tables’ => string ‘true’ (length=4)
    ‘cookies’ => string ‘true’ (length=4)
    ‘backgroundsounds’ => string ‘false’ (length=5)
    ‘javascript’ => string ‘true’ (length=4)
    ‘vbscript’ => string ‘false’ (length=5)
    ‘javaapplets’ => string ‘true’ (length=4)
    ‘activexcontrols’ => string ‘false’ (length=5)
    ‘ismobiledevice’ => string ‘false’ (length=5)
    ‘issyndicationreader’ => string ‘false’ (length=5)
    ‘crawler’ => string ‘false’ (length=5)
    ‘cssversion’ => string ‘3’ (length=1)
    ‘aolversion’ => string ‘0’ (length=1)
    ‘parent’ => string ‘Chrome 33.0’ (length=11)

    Can you check this?

    thanks
    Vincent

    https://wordpress.org/plugins/php-browser-detection/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Opera 20.0 detected as Chrome 33.0’ is closed to new replies.