Auto-linking of e-mail addresses, phone numbers and date/times?

48 views
Skip to first unread message

Micky Hulse

unread,
Aug 2, 2011, 1:18:02 PM8/2/11
to iphone...@googlegroups.com
Hello,

In the app that I am working on, iPhone OS will automatically link all e-mail addresses, phone numbers and date/times.

I have read that this meta tag will stop phone numbers from linking:

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

But for some of the content, I don't have access to the HTML.

My questions:

1.

Does the above meta tag turn of auto-linking for everything, or just phone numbers (I assume just the latter)?

2.

Rather than fighting an uphill battle, does iPhone add any hooks to these links?

I would not mind doing something like:

a.iphoneCssHook { color: #fff; }

3.

Is there a tool that would let me inspect source code of html pages loaded within an app?

Sorry if stupid questions...

Thaks!
Micky

Robert D Sharp

unread,
Aug 2, 2011, 7:18:29 PM8/2/11
to iphone...@googlegroups.com
Hello Micky,

Are regards to 1 and 2, I have no solution off of the top of my head...

for # 3

From any Mac or PC browser (and I am guessing the same exist for Linux) simply view the source code.

Bob

--
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/iphonewebdev/-/7DC0gj0cLwwJ.
To post to this group, send email to iphone...@googlegroups.com.
To unsubscribe from this group, send email to iphonewebdev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.

-- 
Robert D. Sharp, Manager - Sharp Education Consulting and Marketing, LLC
Retired from Teaching after 34 years, Science, Mathematics Computers, Technology.
Author of Educators' Task Tamer, An NCLB Intervention and Contact Tracking System.


Micky Hulse

unread,
Aug 2, 2011, 7:34:50 PM8/2/11
to iphone...@googlegroups.com
Hi Bob! Thanks for the quick reply, I really appreciate it. :)

On Tue, Aug 2, 2011 at 4:18 PM, Robert D Sharp <b...@edutt.us> wrote:
> Are regards to 1 and 2, I have no solution off of the top of my head...

No worries. Thanks for trying though.

> for # 3
> From any Mac or PC browser (and I am guessing the same exist for Linux) simply view the source code.

That's a great tip!

I probably should have been more clear...

I do use a JS bookmarklet to view source code of web pages via mobile
Safari on my iPhone... I guess I was not sure how to best view source
code via an application that is loading a web page. In other words, if
I am in an app, and I wanted to see the source HTML from there, what
could I do? (For example, I don't know the URI because none of the
browser chrome is showing). :D

Not a big deal though... I guess I was just thinking that maybe there
is a firebug, or something like a debug mode, for testing iPhone
applications.

Thanks again Bob, I really appreciate the help!

Cheers,
Micky

Reply all
Reply to author
Forward
0 new messages