A cool client-side social hack

Via readwriteweb, a cool client-side hack that helps you intelligently choose which social bookmarking services to show on your site:

“Not everyone uses Digg. You have to decide on which bookmarking site, if any, to dedicate your precious screen real-estate. It’s a hard choice. If you choose poorly your reader won’t vote,” writes Raskin. “On the other hand, if you take the bird-shot approach, it overloads your reader with branded badge after branded badge. It turns your page into the village bicycle. Not pretty.”

As a solution, Raskin devised SocialHistory.js, a handy bit of JavaScript code that detects which social media sites your users frequent. Armed with that information, you can display only the relevant badges to each user.


About this entry

Share this post:
  • digg
  • del.icio.us
  • Reddit
  • NewsVine
  • YahooMyWeb