New way to disable Skype phone number links on web site without breaking the number?

Terri Swiatek picture Terri Swiatek · Oct 16, 2013 · Viewed 8.9k times · Source

The old way I was disabling Skype icons / links on webpages (which I found on this site) no longer seems to work.

I've tried: 1. Adding this to the head:

<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />

2.

span.skype_pnh_container {display:none !important;}
span.skype_pnh_print_container {display:inline !important;}

3. Adding these CSS rules:

span[class^='skype_pnh_container'] {display:none !important;}
span[class^='skype_pnh_print_container'] {display:inline !important;}

None seem to work for me anymore.

I don't want to resort to breaking the phone number with span tags as it won't be clickable on devices.

If anyone knows of a new way to disable the styles as of October 2013 I'd be very appreciative. Thanks,

Answer

user2324667 picture user2324667 · Oct 19, 2013

Change all the numbers to anchor tags () and add the link for example:

<a href="tel:123456789">123456789</a>

href="tel:" works like the href="mailto:" so it works on mobile device and with Skype if it is installed on the clients computer.

Hope this helps