Results 1 to 3 of 3

Thread: telephone number detection

  1. #1
    Join Date
    Nov 2013

    Question telephone number detection

    I'm working with a JS based website template(build.rebeccajankowskimd.com) When pulled up on an iphone any numbers that the phone detects as a potential phone number isn't displayed. It allocates the space but, doesn't display the number.

    If I add the following to the head of my index.html file it displays the numbers just fine. But of course, the numbers aren't "linkable" to initiate a call to the number.

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

    What is it about JS based websites that require disabling format-detection in order for a phone to display the number?

    Any ideas? I'd really like the phone numbers to be "linkable" when a user is on a mobile device. All suggestion, tips, advice will be appreciated.

  2. #2
    Join Date
    Mar 2007
    You check the browser type, then if its a mobile, redirect to mobile based web code.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Join Date
    Nov 2013
    Thanks for the reply but, my other question still stands. Why does the mobile device, when detecting a telephone number, not display the information in a js based website? The mobile devices display detected phone numbers just fine in normal html websites.

    Because it detects it being a telephone number it doesn't show it; I find that interesting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center