Does anyone know if there is a way to detect the ability to make phone calls from a browser/webpage?
I don't necessarily want to know if I'm dealing with a touchscreen or smaller viewport, but rather if the device or browser has the ability to make phone calls.
Essentially I want to display a clickable "Call phone number" (href="tel:+15555555555") if the device has the capacity to make phone calls, or hide the element if does not.