Skype Logo Take a deep breath™.
Buy Skype Credit · Help ·
  • Download
  • Use Skype
  • Business
  • Shop
  • Account
Jaanus

Skype Buttons tip: use "email HTML" if JavaScript isn't allowed

By My status Jaanus on August 10, 2006 in Sharing Tools News.

We continue to get questions in the eBay Skype discussion board and other channels about what to do if your web host doesn’t allow JavaScript. Many hosts don’t, and that’s good for security. However, the Skype button wizard offers you code with JavaScript by default, which may not work or may produce some weird results as it gets sanitized or filtered by the web host.

There’s a simple way out. In the Skype button generator wizard, you can choose between “web HTML” and “email HTML”. The main difference between the two is that the first one is with JavaScript and the second one is without it. We figured that calling them “with JavaScript” and “without JavaScript” was a bit too geeky and so we went with web/email HTML, since most web-based and standalone e-mail clients don’t allow JavaScript anyway, so it made sense.

To switch from web HTML to email HTML, just select the appropriate option before copying the code.

skypebutton_email_html.png

Why have JavaScript there in the first place? The Skype buttons themselves work fine without it — if everyone coming to your site has Skype installed. If you don’t have Skype and click on a skype: link, one of two things happen.

  • if your code doesn’t have the JavaScript thing, they may see some ugly and strange browser or e-mail client error.
  • if your code has the JavaScript thing, a friendly error pops up, telling a bit about Skype and suggesting the visitor to download and install it. See an example.

View blog reactions

Comments

The non-javascript version is fine for most uses, but some CMSs and forums might change the code to something that won't work too.
Something that I've found that works (but is a bit hacky), is to create a link to a page that contains a META HTTP-EQUIV=REFRESH tag, with CONTENT="1; URL=skype:MY_SKYPE_NAME?call and nothing else.
In my signature in the forum I use (an Invision Power Board based forum), I just link to that page, which then "calls" me. It would be useful to be able to remove the second step though. The problem is the forum changes the url so it doesn't work.

edaross | Friday, Aug 11

Comment on this post

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Back to index

Subscribe to this blog
What? Tell me more…

using RSS Subscribe
via Bloglines Subscribe in Bloglines
using Newsgator Subscribe in NewsGator Online
with MyYahoo
with Google Add to Google
with My AOL Add to My AOL
with Anothr.com Subscribe by Anothr
with netvibes Add to Netvibes
with email Get email updates
Skype Blogs
  • Share Skype Blog
  • About Skype
  • Heartbeat
  • Developer Zone
  • Business
  • Jobs
  • Skype Prime
  • Skype Gear
  • Security
  • Garage
  • Mac
  • Linux
  • Eesti keeles
  • Töökuulutuste leht
  • 日本語
  • Deutsch
  • Français
  • Italiano
  • Brasil
  • United Kingdom
  • Svenska
  • Polski
  • Recent posts
  • Using Skype to leap barriers
  • CNET's Webware 100 awards are are up again
  • A few words from Skype's incoming CEO
  • Ta-dah! 12m concurrent users
  • Hip, Hip, Hooray for the 3 Skypephone
  • One hundred billion reasons to call this a milestone
  • US and European PSP Slim & Lite owners, rejoice
  • eBay management changes
  • Echoes of CES
  • To Go further… make international calls from any phone, including your mobile to almost anyone in the world
  • Archives
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
  • June 2005
  • May 2005
  • Friends of Skype
  • eBay Chatter blog
  • Alec Saunders
  • Anders Jacobsen
  • Andrew Hansen
  • Andy Abramson
  • Aswath
  • Dan York
  • Dina Mehta
  • Ike Roelfsema
  • Jaanus Kase
  • Jean Mercier
  • Jeff Pulver
  • Joerg Droege
  • Joi Ito
  • Lars Kamp
  • Mark Evans
  • Martin Geddes
  • Martin Varsavsky
  • Neville Hobson
  • Om Malik
  • Richard Stastny
  • Rich Tehrani
  • Robert Scoble
  • Ross Mayfield
  • Russell Shaw
  • Skype Journal
  • Solomon Kay
  • Stuart Henshall
  • Tom Evslin
  • Tom Keating
About us · Partners · Jobs · Prices · Security
Privacy policy · Legal · © 2008 Skype Limited