Skip to content

implement browsecap #417

Closed
Closed

Description

@arhimede

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Implement device detection based on browsecap
instructions how to install on server
download the file from https://browscap.org/
how to use it in Admin Logins page

  • article ...

Activity

  1. added this to the 7.2 milestone on Apr 14, 2026
  2. linked a pull request that will close this issueBrowscap mapping #418on Apr 17, 2026
  3. bidi47 commented on Apr 17, 2026

    @bidi47
    Member

    let's discuss what other items we want to map out of browscap
    for now, i only used the columns that we had available in the admin_login table

    i added these browscap items to the AdminLogin:

    • device_type
    • device_name
    • ismobiledevice
    • platform_description
    • platform_version
    • platform
    • browser_type
    • browser
    • renderingengine_name

    here is an example of a full browscap object:

    (
        [browser_name_regex] => ~^mozilla/5\.0 \(.*windows nt 10\.0.*win64. x64.*\).*applewebkit.*\(.*khtml.*like.*gecko.*\).*chrome/.* safari/.*$~
        [browser_name_pattern] => Mozilla/5.0 (*Windows NT 10.0*Win64? x64*)*applewebkit*(*khtml*like*gecko*)*Chrome/* Safari/*
        [parent] => Chrome Generic
        [browser_bits] => 64
        [platform] => Win10
        [platform_version] => 10.0
        [platform_description] => Windows 10
        [platform_bits] => 64
        [platform_maker] => Microsoft Corporation
        [win64] => 1
        [comment] => Chrome Generic
        [browser] => Chrome
        [browser_type] => Browser
        [browser_maker] => Google Inc
        [frames] => 1
        [iframes] => 1
        [tables] => 1
        [cookies] => 1
        [javascript] => 1
        [cssversion] => 3
        [aolversion] => 0
        [device_name] => Windows Desktop
        [device_type] => Desktop
        [device_pointing_method] => mouse
        [device_code_name] => Windows Desktop
        [renderingengine_name] => Blink
        [renderingengine_description] => a WebKit Fork by Google
        [renderingengine_maker] => Google Inc
        [browser_modus] => unknown
        [version] => 0.0
        [majorver] => 0
        [minorver] => 0
        [alpha] => 
        [beta] => 
        [win16] => 
        [win32] => 
        [backgroundsounds] => 
        [vbscript] => 
        [javaapplets] => 
        [activexcontrols] => 
        [ismobiledevice] => 
        [istablet] => 
        [issyndicationreader] => 
        [crawler] => 
        [isfake] => 
        [isanonymized] => 
        [ismodified] => 
        [device_maker] => unknown
        [device_brand_name] => unknown
        [renderingengine_version] => unknown
    )```
    
  4. arhimede commented on Apr 20, 2026

    @arhimede
    MemberAuthor

    Let see what we can keep from current

    • device type OK
    • device brand OUT
    • devide model OUT
    • is mobile OK
    • os name OK ( platform)
    • os version OK ( platform version)
    • os platform OUT
    • client type OK ( browser_type)
    • client name OK( browser)
    • client engine OUT
    • client version OUT

    and what to add:

    • is crawler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions