Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to disable the iPhone's automatic hyperlinks?

We send out a notification email whenever we have "phishing" emails reported to us. In these emails, we include a copy-paste of the text inside the original phishing email as a sample of what is reported to us. Our code strips all hyperlinks out of the email via PHP, but still includes (in plain text) the link. When users receive this email in their client (Thunderbird, Outlook, Horde/IMP, etc), the hyperlink is removed.

However, the iPhone likes to take web addresses in plain text and automatically turn them into hyperlinks. Is there any possible way to stop this action from happening via a HTML tag or by using PHP to replace certain parts of the hyperlink?

like image 454
Michael Irigoyen Avatar asked Jan 10 '11 14:01

Michael Irigoyen


People also ask

Can you edit hyperlinks on Iphone?

Edit or remove a link Tap the linked text or the link button on the linked object. If the link is in a table cell, tap the table cell first, then tap the link button. In the link editor, tap Link Settings. Make your changes or tap Remove Link.

How do you remove hyperlinks from email on Iphone?

You can also select the email address, press command+K, and then click Remove. If you want all new hyperlinks to appear as plain text as you type them, you can first, select Edit menu : Substitutions : (uncheck) Smart Links.


1 Answers

There doesn't seem to be a way to suppress this behaviour so how about turning them back into links but with no href?

http://example.com -> <a href="">http://example.com</a>

like image 68
koregan Avatar answered Oct 19 '22 21:10

koregan