WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
239449
How to differentiate Safari browser on macOS vs iPadOS?
https://bugs.webkit.org/show_bug.cgi?id=239449
Summary
How to differentiate Safari browser on macOS vs iPadOS?
shivaksk1
Reported
2022-04-17 20:49:01 PDT
Hi, Is there a way to check if the Safari browser is running on macOS or iPadOS? The user agent on both the platforms are exactly the same, and hence cannot be used. The reason why we want to differentiate is to prevent video playback on iPadOS, and allow it only on macOS. This is for a business requirement to force the users to use Apps and not Safari browser on iPadOS. Regards, Shiva
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-04-19 10:27:58 PDT
The decision to express a desktop UA for iPads was precisely because of these business requirements. iPad Safari should be treated no differently from macOS Safari. Our view is that the user should be able to choose whether they wish to have a Safari-only experience on iPad, or install and use an application if they wish.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug