Howto Remove Skype Plugin Markup with jQuery

May 03, 2010

If you have installed the latest version of Skype on Windows, it automatically installs browser plugins for IE and FireFox. The browser plugin detects phone numbers on the page injects markup with clickable links to dial the number in Sykpe.

This has caused some issues for Web Developers because the plugin sometimes picks up text that is not actually a phone number. Or it can screw up a design that has fixed width requirements.

So how do you disable this nice feature? Skype had supported a meta tag at one point:


This meta tag is not supported in the Current Version, as confirmed by a Skype Employee.

The HTML that the plugin injects is all styled with CSS using !important directives, so it is difficult to get rid of their styling using CSS, that's why I had to write some JavaScript disable the skype plugin. Using jQuery makes this very easy, just insert this code into your head tag:

<script src="" language="javascript"></script>
<script language="javascript">
	$(document).ready(function() {
		window.setTimeout(function() {
		}, 800);

It's annoying that Skype makes you go through these hoops to disable their plugin, it would be nice if they supported something like this:

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

Which you can use to tell mobile phones such as an iPhone not to detect phone numbers on the page.

Related Entries

5 people found this page useful, what do you think?


Hey Pete, I have the plugin installed, but in Firefox I have a button in my toolbar that allows me to easily disable the feature, or even uninstall the plugin. Do you not have this button, or am I missing something?
@Thomas that's not really the issue, the problem is that when the plugin causes a layout problem. You don't want to leave it up to the user to fix it, I'd rather account for it on my end if I know it is going to happen.
The META tag did not work, but your script did the job! Many thanks!!! My vertical menu on the web pages was messed up due to the phone number expansion with that damn country code (flag). I came THAT close to uninstalling Skype! Thanks again!
Thanks Pete. I searched everywhere for this solution. You've got me out of jail with this one.
Superb, thanks for this -- works a treat!
Awesome, the time out is what I was missing! Many thanks!
I just used this CSS and it worked.

span.skype_pnh_container {
display:none !important;

span.skype_pnh_print_container {
display:inline !important;
@axiom - the meta tag doesn't work in all versions of skype from what I've read.
thanks for this!!
I would like to exchange links with your site
Is this possible?
This is a great solution. One question why '800', why not '100' or something smaller, to keep it from showing then disappearing?
Also, I liked Diodeus suggestion of the css, but I couldn't get that to work due to conflicting !important tags....
The reason I used 800 is because the markup is inserted slightly after the onload event is fired, I found that to be a good value to ensure that it was removed. You could run that code a few times at different intervals to ensure it is removed faster.
Hi Pete

I had the code in my website but I still have the some problem in IE.
You know what I can do to get rid of that in IE as well?
language="javascript"? That crap was deprecated... TWELVE YEARS AGO.
Does your javascript still work? I've tried it but to no avail, has skype now sneaked around this kill as it has the meta tag?
Does your javascript still work? I've tried it but to no avail, has skype now sneaked around this kill as it has the meta tag?
This really is nonsense. Why would anyone pollute its code with some useless javascript, or add CSS divs and classes when there's a better way to do it?

So there's how to do it :

Let's say you want to add this
telephone number to your website :


So this number will actually be detected by skype plug-in, and in order to avoid it, just add an HTML comment inside, like this :

1-234-5<!--Anti Skype Plug-in Comment-->67-8910

Or just put some random text.

It will always work, no javascript needed ;)
They actually do support a meta tag,

Due to microsoft circumventing these fixes, this is the only thing that worked for me.
cheap team basketball jerseys chdap brian cushing jersey
Bom Página. Graças Muitas Graças.

Recent Entries