Is there any way to detect whether a mobile device is capable of making voice calls / SMS messages?
This is important when applying tel: and sms:<
I havent seen an obvious way to see that sms: and tel: links get special treatment.
Update: @janogosteve below has confirmed there is currently no reliable feature detect. This looks undetectable.
Here's a comprehensive way to check this feature detect. (Read jangosteve comment below!)
getComputedStyle info for a bunch of details on them and throw that into an object as wellJSON.stringify( that stuff so you can deal with it later on)Do the above on an iOS device and in desktop Safari/Chrome
Then JSON.parse them back into objects... and use https://github.com/NV/objectDiff.js to see if you can spot any differences at all.