Wednesday, September 25, 2013

Disable phone number links in Safari!

Don't you hate it when you make a web site wherein a digit sits by itself in a div and your iPhone decides the number is a phone number and makes it a hyperlink? Me too! Luis Sanchez, a coworker, told me today about a trick to turn this "feature" off in Safari however. It is to use a metatag like so:

<meta name="format-detection" content="telephone=no">

 
 

This is best thing I've learned all month!

No comments:

Post a Comment