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!

Recent Features

Incredible Demos

  • By
    Highlighter: A MooTools Search &#038; Highlight Plugin

    Searching within the page is a major browser functionality, but what if we could code a search box in JavaScript that would do the same thing? I set out to do that using MooTools and ended up with a pretty decent solution. The MooTools JavaScript Class The...

  • By
    NSFW Blocker Using MooTools and CSS

    One of my guilty pleasures is scoping out the latest celebrity gossip from PerezHilton.com, DListed.com, and JoBlo.com. Unfortunately, these sites occasionally post NSFW pictures which makes checking these sites on lunch a huge gamble -- a trip to HR's office could be just a click away. Since...