/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] little white dot

(I want to state up front that I am not really a developer – I know just enough to tweak what others have done for my own use, so please bear with me.)

I am having an odd display problem on my site, and I have narrowed it down to the skypeCheck.js file that goes with the Skype button at the top of all of my pages. Basically, it’s a little white dot or square that pops up when the file is present in the code. When I remove the “.js” extension or the whole file, etc. the dot goes away, but of course the Skype button no longer works.

The strange thing is that if I add or subtract other code after the Skype button, the dot moves to a different location. It also moves if I change the browser viewing size. Also, I have looked at it with different browsers on different computers, and for the most part Firefox seems to be the only one free of the problem.

Anyone ever heard of this?

[URL=”http://www.jamesmehaffey.com”]Here is my site (white dot should be on the black background to the right of the page).[/URL]

[URL=”http://www.jamesmehaffey.com/whitedot.html”]And here is a page with most content removed to show the dot has moved (should be in the centre of the page next to the header – it’s a bit hard to see, but it’s there).[/URL]

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@PadonakJul 31.2010 — [CODE]<object width="5" height="5" type="application/x-shockwave-flash" id="skypedetectionswf" data="http://api.skype.com/detection/detection_as3.swf"><param name="allowScriptAccess" value="always"></object>[/CODE]

this is your white dot (it is rectangle 5x5 in fact)
Copy linkTweet thisAlerts:
@Sterling_IsfineJul 31.2010 — [CODE]<object width="5" height="5" type="application/x-shockwave-flash" id="skypedetectionswf" data="http://api.skype.com/detection/detection_as3.swf"><param name="allowScriptAccess" value="always"></object>[/CODE]

this is your white dot (it is rectangle 5x5 in fact)[/QUOTE]


So the fix would be:
[CODE]
<script type='text/javascript'>

document.getElementById("skypedetectionswf").style.visibility='hidden';

</script>
[/CODE]
Inserted somewhere [I]below[/I] the script that generates it.
Copy linkTweet thisAlerts:
@mimewearauthorJul 31.2010 — Thanks for the quick replies. I have tried Sterling's code placed after the Skype script (in a couple of places), and the dot did in fact go away. Unfortunately so did the functionality of the button. So it seems you both have me going in the right direction.

I looked through the .js file, and I couldn't seem to find the "<object>" that you referenced, Padonak, though I could find a few instances where "skypedetectionswf" pops up. In particular I found this url, "http://api.skype.com/detection/detection_as3.swf", just before a section of container attributes, etc. When I removed the url, just to check that I was looking in the right place, the dot disappeared and the functionality seems to remain. I think so anyway.

I tried it on a couple of computers w & w/o Skype installed, and it seemed to work - that is it brought up the dialogue box asking whether or not you've got Skype. Though I didn't try to call or chat. I would have thought they put that url in there for a reason, so please let me know if I'm way off track or if you have a better solution.

Thanks again.
Copy linkTweet thisAlerts:
@ZayoSep 14.2010 — Try to find string [B]swfobject.embedSWF(_detectionSwfUrl,_containerID,5,5,"9.0",null,null,{allowScriptAccess:"always"},{id:_detectionSwfID}[/B] in skypeCheck.js and change substring [B]5,5,"9.0"[/B] to [B]0,0,"9.0"[/B]

In your pages use this edited skypeCheck.js file locally stored. The little box will apear again but its width and height will be 0x0 pixels ;-)
Copy linkTweet thisAlerts:
@kubik256Feb 10.2011 — Many many thanx... I've tried almost everything and nothing before your idea worked ?
Copy linkTweet thisAlerts:
@almazeusMar 11.2012 — Try to find string [B]swfobject.embedSWF(_detectionSwfUrl,_containerID,5,5,"9.0",null,null,{allowScriptAccess:"always"},{id:_detectionSwfID}[/B] in skypeCheck.js and change substring [B]5,5,"9.0"[/B] to [B]0,0,"9.0"[/B]

I registered just to say thank you!

I have been chasing this problem for a while and only find this solution! Thank YOU!?
Copy linkTweet thisAlerts:
@priestlyMay 28.2012 — I was searching around for how to get rid of that Skype SWF today and found this thread. I tried the suggestions here and when I changed the size of the skypedetectionswf in the javascript file, or hid it completely, the link lost its functionality (I'm using a text link).

I found adding this to my CSS file worked for my site's layout:

#skypedetectionswf{

margin-left: -10000px;

width: .001em;

height: .001em;

}

Hope that helps someone.
×

Success!

Help @mimewear spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...