jQuery Mobile: Turn off Auto-Detection of Phone Numbers and Email Addresses on iOS and Blackberry
Just a quick tip for those of us who wish to turn off the auto-detect phone numbers and email addresses feature of iOS and Blackberry. Both iOS and Blackberry phone automatically detect phone numbers and emails and convert them to links. Some times this can get in the way of our designs. Switching this feature off is actually quite quick and simple.
All we need to do is add 2 lines to meta data in the head of our HTML page.
<meta name=”format-detection” content=”telephone=no”>
and the second line for Blackberry systems:
<meta http-equiv=”x-rim-auto-match” content=”none”>
The inclusion of these two lines with prevent iOS and Blackberry from automatically converting phone numbers and emails to link leaving us to format them as we please if we wish to do so.