Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve detection for certain browsers #593

Open
ataylor32 opened this issue Jun 26, 2024 · 0 comments
Open

Improve detection for certain browsers #593

ataylor32 opened this issue Jun 26, 2024 · 0 comments

Comments

@ataylor32
Copy link

ataylor32 commented Jun 26, 2024

There are three browsers I know of that could use some improvement in their detection:

Ghostery

This browser is available on Windows, macOS, Linux, Android, and iOS. The Android and iOS versions are detectable:

Android:

Mozilla/5.0 (Android 14; Mobile; rv:125.0; Ghostery:3.0) Gecko/125.0 Firefox/125.0

iOS:

Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Mobile/15E148 Safari/605.1.15 Ghostery Private Browser

Opera

This browser is available on Windows, macOS, Linux, Android, and iOS. This script usually detects Opera, but it doesn't work for the iOS version:

iOS:

Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1 OPT/4.7.0

Opera GX

This browser is available on Windows, macOS, Android, and iOS. The Android and iOS versions are detectable:

Android:

Mozilla/5.0 (Linux; Android 14; SM-G991U1 Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36 OPX/2.3

iOS:

Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1 OPX/2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@ataylor32 and others