[Webkit-unassigned] [Bug 239449] New: How to differentiate Safari browser on macOS vs iPadOS?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 17 20:49:01 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239449

            Bug ID: 239449
           Summary: How to differentiate Safari browser on macOS vs
                    iPadOS?
           Product: WebKit
           Version: Safari 13
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shivaksk1 at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220418/db82a3b3/attachment.htm>


More information about the webkit-unassigned mailing list