<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php" />
  <link rel="self" type="application/atom+xml" href="http://www.readwriteweb.com/atom.xml" />
  <id>tag:,2008:/1/tag:www.readwriteweb.com,2008://1.6419-</id>
  <updated>2008-12-03T21:39:34Z</updated>
  <title>Comments for SocialHistory.js: See Which Sites Your Users Visit</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.23-en</generator>
  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419</id>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.readwriteweb.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=1/entry_id=6419" title="SocialHistory.js: See Which Sites Your Users Visit" />
    <published>2008-05-28T15:04:29Z</published>
    <updated>2008-05-29T09:53:37Z</updated>
    <title>SocialHistory.js: See Which Sites Your Users Visit</title>
    <summary>See Which Social Media Sites Your Users Visit</summary>
    <author>
      <name>Josh Catone</name>
      <uri>http://www.readwriteweb.com/</uri>
    </author>
    
    <category term="Products" />
    
    <content type="html" xml:lang="en" xml:base="http://www.readwriteweb.com/">
      <![CDATA[<p><img border="0" src="http://www.readwriteweb.com/images/socialsite-logos.jpg" width="115" height="100" />With so many social media sites in circulation today, badge soup can become a real problem for web sites trying to squeeze the most out of their traffic.  Everyone has a different set of core social media sites that they use -- from del.icio.us and Ma.gnolia, to Digg, Reddit, and Diigo, we all have our favorites.  But appealing to your users' varied tastes often means an overwhelming sea of site badges that is both unattractive and ineffective.  Web developer Aza Raskin has a solution based on a browser history leak introduced due to CSS.</p>]]>
      <![CDATA[<p>"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," <a href="http://azarask.in/blog/post/socialhistoryjs/">writes Raskin</a>.  "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."</p>

<p>As a solution, Raskin devised <a href="http://code.google.com/p/aza/source/browse/trunk/SocialHistory/SocialHistory.js">SocialHistory.js</a>, 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.</p>

<p>SocialHistory.js works by exploiting the feature in modern web browsers that automatically uses a different link color for visited links.  The JavaScript loads up a bunch of links from a list of top social media sites in an iFrame and looks at which have been visited based on the change in link color.  From there, it can assume which you are most likely to use (or in my case, which I may have visited recently while doing research for a story).</p>

<p>Raskin notes that the same browser leak can be exploited using his bit of JavaScript to check out what other sites your users are visiting.  You could ask SocialHistory.js to load up a list of competitor's web sites, for example, to see how much of your web site audience overlaps.</p>

<p>There are some drawbacks to the approach.  For example, your users need to have JavaScript enabled (<a href="http://www.w3schools.com/browsers/browsers_stats.asp">95% of people according to W3Schools</a>), and the detection only works for sites that the user has visited recently (dependent on his or her history settings).  Nonetheless, it is a clever way to clean up the badge overload on your site and find out a little bit about your visitors' surfing habits.</p>]]>
    </content>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56286</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56286" />
    <title>Comment from Alex Iskold on 2008-05-28</title>
    <author>
        <name>Alex Iskold</name>
        <uri>http://www.adaptiveblue.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.adaptiveblue.com">
        <![CDATA[<p>Hmmm... I don't know about this - creating a hidden iframe on the fly for each user and then loading bits of other sites into it? Seems a bit of an over kill to me.</p>

<p>Of course I am biased here, but I always felt that the buttons should not be on the page, they should be in the browser, personalized for each user.</p>]]>
    </content>
    <published>2008-05-28T16:30:20Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56287</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56287" />
    <title>Comment from Wil Tan on 2008-05-28</title>
    <author>
        <name>Wil Tan</name>
        <uri>http://mojipage.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://mojipage.com">
        <![CDATA[<p>The most interesting hack I've seen in a while!</p>]]>
    </content>
    <published>2008-05-28T16:37:07Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56289</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56289" />
    <title>Comment from Tom Pimental on 2008-05-28</title>
    <author>
        <name>Tom Pimental</name>
        <uri>http://www.tompimental.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.tompimental.com">
        <![CDATA[<p>It is interesting, but I see beacon-like privacy concerns coming on.</p>]]>
    </content>
    <published>2008-05-28T16:46:28Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56290</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56290" />
    <title>Comment from Wil Tan on 2008-05-28</title>
    <author>
        <name>Wil Tan</name>
        <uri>http://mojipage.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://mojipage.com">
        <![CDATA[<p>@Alex it's only creating anchors (<a> tags) to the sites in the iframe, not actually loading the sites.</a></p>

<p>I agree that having the "Digg it" or "Reddit" buttons on the browser chrome is ideal, but not every user is a Flocker ;-)</p>

<p>Besides, aside from the "Share this" links, there are other use cases for badges so this is definitely a useful hack.</p>]]>
    </content>
    <published>2008-05-28T16:46:29Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56291</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56291" />
    <title>Comment from wesley on 2008-05-28</title>
    <author>
        <name>wesley</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>What are the privacy concerns about this?</p>]]>
    </content>
    <published>2008-05-28T16:53:15Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56293</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56293" />
    <title>Comment from Marcello on 2008-05-28</title>
    <author>
        <name>Marcello</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>...but who will want to use your service after they find out that you've been spying on their personal browsing history? The deadpool awaits all who use this tactic!</p>]]>
    </content>
    <published>2008-05-28T17:00:51Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56303</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56303" />
    <title>Comment from Slippy Lane on 2008-05-28</title>
    <author>
        <name>Slippy Lane</name>
        <uri>http://worldofslippy.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://worldofslippy.blogspot.com">
        <![CDATA[<p>There's no privacy concern if the script isn't reporting back to the site owner. All it's doing is filtering which links you see by which links you've recently visited</p>]]>
    </content>
    <published>2008-05-28T18:01:04Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56306</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56306" />
    <title>Comment from Joffi on 2008-05-28</title>
    <author>
        <name>Joffi</name>
        <uri>http://twitter.com/Joffi</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://twitter.com/Joffi">
        <![CDATA[<p>A good example of why I selectively allow javascript</p>]]>
    </content>
    <published>2008-05-28T19:09:41Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56310</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56310" />
    <title>Comment from Jackson on 2008-05-28</title>
    <author>
        <name>Jackson</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Niall Kennedy <a href="http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html" rel="nofollow">brought this idea to life</a> earlier this year. </p>]]>
    </content>
    <published>2008-05-28T20:47:01Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56316</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56316" />
    <title>Comment from Q dub on 2008-05-28</title>
    <author>
        <name>Q dub</name>
        <uri>http://qwang.net</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://qwang.net">
        <![CDATA[<p>A bit sketchy...would browsers fix this "leak" in the near future?</p>

<p>From a purist perspective, this kind of problem is ultimately better solved with a standardized url prefix (e.g. mailto:)</p>

<p>Until then, clever hack!</p>]]>
    </content>
    <published>2008-05-28T22:46:15Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56358</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56358" />
    <title>Comment from Faisal Riaz on 2008-05-29</title>
    <author>
        <name>Faisal Riaz</name>
        <uri>http://www.softwaremandi.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.softwaremandi.com">
        <![CDATA[<p>I agree with the idea that one should know one's target audience. What do the like in social media and then to go their to address them with your product offering. </p>]]>
    </content>
    <published>2008-05-29T10:58:34Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56359</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56359" />
    <title>Comment from Faisal Riaz on 2008-05-29</title>
    <author>
        <name>Faisal Riaz</name>
        <uri>http://www.softwaremandi.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.softwaremandi.com">
        <![CDATA[<p>Launching a movie in theater and on dvd right after week or so will temper sales through Cinema houses. But good thing is that if any body wants to see the flick DVD or in Cinema, it is possible </p>]]>
    </content>
    <published>2008-05-29T11:12:13Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56378</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56378" />
    <title>Comment from Alex Nesbitt on 2008-05-29</title>
    <author>
        <name>Alex Nesbitt</name>
        <uri>http://www.digitalpodcast.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.digitalpodcast.com">
        <![CDATA[<p>I saw a white-hat presentation at a security conference last year showing how this hack, combined with collecting email address, helps phishers target people.  Substitute banks, brokerage and other financial institutions for social sites and you can see who people do business with.  The bad guys combine that with collecting emails and then send targeted phishing emails based upon who you do business with. </p>

<p>The other thing they do is take user login information from their site combine it with this and try to break into accounts.</p>

<p>Perhaps the real story is about the security risks this kind of js script creates for end users.</p>]]>
    </content>
    <published>2008-05-29T14:54:26Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56576</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56576" />
    <title>Comment from Farley Knight on 2008-05-31</title>
    <author>
        <name>Farley Knight</name>
        <uri>http://blog.farleyknight.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://blog.farleyknight.com">
        <![CDATA[<p>This looks pretty neat, but you have to admit that the way it's done is pretty evil :)</p>]]>
    </content>
    <published>2008-05-31T20:07:08Z</published>
  </entry>

  <entry>
    <id>tag:www.readwriteweb.com,2008://1.6419-comment:56595</id>
    <thr:in-reply-to ref="tag:www.readwriteweb.com,2008://1.6419" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php"/>
    <link rel="alternate" type="text/html" href="http://www.readwriteweb.com/archives/socialhistoryjs_see_which_site.php#c56595" />
    <title>Comment from Johnny on 2008-06-01</title>
    <author>
        <name>Johnny</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Horrible.</p>]]>
    </content>
    <published>2008-06-01T11:42:18Z</published>
  </entry>

</feed>