Q
|
What BrowserHawk properties should I check to determine whether a browser is a mobile device or not?
|
A
|
Here is a recipe for detecting mobile devices (pseudo code):
if PDA = True OR WAP = True OR (Browser = "Safari" AND (OSDetails = "iPhone" OR OSDetails = "iPod touch") then
mobile device
else
not a mobile device
end if
|