Closed donatj closed 3 years ago
I stand corrected, the sniffable differences were removed in iPad OS 14… I was running 13 in the simulator.
iPadOS:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15
Safari on Big Sur:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15
They're binary the same.
So the people at Apple are bad bad people and made it much more difficult to detect iPad OS
https://developer.apple.com/forums/thread/119186
iPad OS Safari
MacOS Safari
There are three major sniffable differences as best I can tell - ordered by seemingly most to least important.
Mac OS X
version includes 3 places in macOS but only two places in iOSWhile I don't normally support meddling with this kind of UA shenanigans, iPadOS seems important enough to bother.