Treehouse

Phone Number Detection in Mobile Safari

By on  

Mobile Safari is chalk full of great features, one of them being the ability to detect phone numbers and turn them into links, allowing the user to tap the link and either call the number or add it to their address book.  There may be some cases where you don't want this functionality to kick in, so here's how you can prevent it:

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

This special META tag prevents phone number detection in Mobile Safari.  The "yes" value would obviously enable phone number detection.  Just a quick tip I thought I'd pass on!

ydkjs-4.png

Recent Features

Incredible Demos

  • WebSocket and&nbsp;Socket.IO

    My favorite web technology is quickly becoming the WebSocket API. WebSocket provides a welcomed alternative to the AJAX technologies we've been making use of over the past few years. This new API provides a method to push...

  • MooTools Link&nbsp;Fading

    We all know that we can set a different link color (among other properties) on the hover event, but why not show a little bit more dynamism by making the original color fade to the next? Using MooTools 1.2,...

  • Create a Trailing Mouse Cursor Effect Using&nbsp;MooTools

    Remember the old days of DHTML and effects that were an achievement to create but had absolutely no value? Well, a trailing mouse cursor script is sorta like that. And I'm sorta the type of guy that creates...