<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: AJAX For Evil:  Spyjax with&#160;jQuery</title> <atom:link href="http://davidwalsh.name/jquery-spyjax/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/jquery-spyjax</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 04:02:29 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: sneaky</title><link>http://davidwalsh.name/jquery-spyjax#comment-26747</link> <dc:creator>sneaky</dc:creator> <pubDate>Mon, 29 Aug 2011 19:53:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-26747</guid> <description>So, I get how to display this content on a web page, but what I&#039;m really trying to figure out is how to take the *visited* urls and place them in a variable, or array or something so that they can be sent via email or thrown into a database...Is there a way to essentially disregard the unvisited list and only display/store the &quot;visited&quot; list?I&#039;m a total newbie - sorry! Thanks!</description> <content:encoded><![CDATA[<p>So, I get how to display this content on a web page, but what I&#8217;m really trying to figure out is how to take the *visited* urls and place them in a variable, or array or something so that they can be sent via email or thrown into a database&#8230;</p><p>Is there a way to essentially disregard the unvisited list and only display/store the &#8220;visited&#8221; list?</p><p>I&#8217;m a total newbie &#8211; sorry! Thanks!</p> ]]></content:encoded> </item> <item><title>By: Suketu</title><link>http://davidwalsh.name/jquery-spyjax#comment-24269</link> <dc:creator>Suketu</dc:creator> <pubDate>Mon, 30 May 2011 13:06:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-24269</guid> <description>Hi David,Great feature.I was trying executing this code on my local machine, but it didn&#039;t seemed working. It was plainly returning anchor&#039;s default colorI tested this code in Firefox 4, Google chrome and IE 8. Following is the code that i was trying.&lt;code&gt;a.checkme			{ color:#00ff00; }
a.checkme:visited	{ color:#ff0000!important; }
.highlight { background: #ccc; padding:5px; }&lt;a href=&quot;http://www.google.com&quot; rel=&quot;nofollow&quot;&gt;google&lt;/a&gt;
&lt;a href=&quot;http://www.yahoo.com&quot; rel=&quot;nofollow&quot;&gt;yahoo&lt;/a&gt;//when the page is ready
$(document).ready(function() {var visited = [];
window.alert($(&#039;.checkme&#039;).length);
$(&#039;.checkme&#039;).each(function() {
alert($(this).css(&#039;color&#039;));
if($(this).css(&#039;color&#039;) == &#039;#ff0000&#039; &#124;&#124; $(this).css(&#039;color&#039;) == &#039;rgb(255, 0, 0)&#039;) { //either format of color
$(this).addClass(&#039;highlight&#039;);
visited.push($(this).attr(&#039;href&#039;));
}
});
if(visited.length) {
//save via ajax!  shady!
//holla!
alert(&#039;I found &#039; + visited.length + &#039; sites you\&#039;ve been to:  &#039; + visited.join(&#039;_&#039;));
}
else {
alert(&#039;I couldn\&#039;t find any sites you\&#039;ve been to.  Lucky you!&#039;);
}
});&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Hi David,</p><p>Great feature.</p><p>I was trying executing this code on my local machine, but it didn&#8217;t seemed working. It was plainly returning anchor&#8217;s default color</p><p>I tested this code in Firefox 4, Google chrome and IE 8. Following is the code that i was trying.</p><p><code></p><p>a.checkme			{ color:#00ff00; }<br
/> a.checkme:visited	{ color:#ff0000!important; }<br
/> .highlight { background: #ccc; padding:5px; }</p><p> <a
href="http://www.google.com" rel="nofollow">google</a><br
/> <a
href="http://www.yahoo.com" rel="nofollow">yahoo</a></p><p>//when the page is ready<br
/> $(document).ready(function() {</p><p> var visited = [];<br
/> window.alert($('.checkme').length);<br
/> $('.checkme').each(function() {<br
/> alert($(this).css('color'));<br
/> if($(this).css('color') == '#ff0000' || $(this).css('color') == 'rgb(255, 0, 0)') { //either format of color<br
/> $(this).addClass('highlight');<br
/> visited.push($(this).attr('href'));<br
/> }<br
/> });<br
/> if(visited.length) {<br
/> //save via ajax!  shady!<br
/> //holla!<br
/> alert('I found ' + visited.length + ' sites you\'ve been to:  ' + visited.join('_'));<br
/> }<br
/> else {<br
/> alert('I couldn\'t find any sites you\'ve been to.  Lucky you!');<br
/> }</p><p>});</p><p></code></p> ]]></content:encoded> </item> <item><title>By: David</title><link>http://davidwalsh.name/jquery-spyjax#comment-14172</link> <dc:creator>David</dc:creator> <pubDate>Thu, 03 Dec 2009 18:14:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-14172</guid> <description>Could be that you are not saving your browsing history? Because this &quot;trick&quot; relies upon you saving your history.</description> <content:encoded><![CDATA[<p>Could be that you are not saving your browsing history? Because this &#8220;trick&#8221; relies upon you saving your history.</p> ]]></content:encoded> </item> <item><title>By: ELQ</title><link>http://davidwalsh.name/jquery-spyjax#comment-14171</link> <dc:creator>ELQ</dc:creator> <pubDate>Thu, 03 Dec 2009 18:03:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-14171</guid> <description>What I find interesting is how inaccurate it is. Anybody know why? like I went to Facebook FROM the spyjax page, then came back to the spyjax page (FORward) from Facebook..still showing I&#039;ve not been to Facebook. Even David&#039;s prototype solution..it&#039; shows I&#039;ve been to facebook but not that I was HERE! Any way to increase the accuracy a little?</description> <content:encoded><![CDATA[<p>What I find interesting is how inaccurate it is. Anybody know why? like I went to Facebook FROM the spyjax page, then came back to the spyjax page (FORward) from Facebook..still showing I&#8217;ve not been to Facebook. Even David&#8217;s prototype solution..it&#8217; shows I&#8217;ve been to facebook but not that I was HERE! Any way to increase the accuracy a little?</p> ]]></content:encoded> </item> <item><title>By: Ferodynamics</title><link>http://davidwalsh.name/jquery-spyjax#comment-14020</link> <dc:creator>Ferodynamics</dc:creator> <pubDate>Sun, 29 Nov 2009 01:31:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-14020</guid> <description>I like your idea about Digg.  I don&#039;t want to distract people and/or send them off to Digg if they are not already Digg users.  OK, maybe I&#039;m selfish but I have bills to pay.</description> <content:encoded><![CDATA[<p>I like your idea about Digg.  I don&#8217;t want to distract people and/or send them off to Digg if they are not already Digg users.  OK, maybe I&#8217;m selfish but I have bills to pay.</p> ]]></content:encoded> </item> <item><title>By: Daniel Oliveira</title><link>http://davidwalsh.name/jquery-spyjax#comment-14002</link> <dc:creator>Daniel Oliveira</dc:creator> <pubDate>Fri, 27 Nov 2009 12:30:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-14002</guid> <description>That porn stuff is great!!! ROFL</description> <content:encoded><![CDATA[<p>That porn stuff is great!!! ROFL</p> ]]></content:encoded> </item> <item><title>By: David</title><link>http://davidwalsh.name/jquery-spyjax#comment-13951</link> <dc:creator>David</dc:creator> <pubDate>Wed, 25 Nov 2009 10:55:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-13951</guid> <description>As promised I did the same using Prototype:
http://davidbehler.de/projects/proto.spy</description> <content:encoded><![CDATA[<p>As promised I did the same using Prototype:<br
/> <a
href="http://davidbehler.de/projects/proto.spy" rel="nofollow">http://davidbehler.de/projects/proto.spy</a></p> ]]></content:encoded> </item> <item><title>By: Scott Connerly</title><link>http://davidwalsh.name/jquery-spyjax#comment-13927</link> <dc:creator>Scott Connerly</dc:creator> <pubDate>Tue, 24 Nov 2009 22:04:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-13927</guid> <description>We made a service that is available for free to track your visitors&#039; histories.  Check it out over at http://360voltage.com/historian/</description> <content:encoded><![CDATA[<p>We made a service that is available for free to track your visitors&#8217; histories.  Check it out over at <a
href="http://360voltage.com/historian/" rel="nofollow">http://360voltage.com/historian/</a></p> ]]></content:encoded> </item> <item><title>By: Debalina Basu</title><link>http://davidwalsh.name/jquery-spyjax#comment-13814</link> <dc:creator>Debalina Basu</dc:creator> <pubDate>Fri, 20 Nov 2009 10:26:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-13814</guid> <description>Yeah... I feel that...major privacy violation must be an issue for Spyjax</description> <content:encoded><![CDATA[<p>Yeah&#8230; I feel that&#8230;major privacy violation must be an issue for Spyjax</p> ]]></content:encoded> </item> <item><title>By: Ben</title><link>http://davidwalsh.name/jquery-spyjax#comment-13800</link> <dc:creator>Ben</dc:creator> <pubDate>Fri, 20 Nov 2009 05:33:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4223#comment-13800</guid> <description>@Nickolas Simard:  Ah cool!Still, that doesn&#039;t distinguish between good and evil sites.Do you think this could mean the end of the visited link style?!Once this gets into the wrong hands, the cons of keeping the visited link functionality will definitely outweight the pros.</description> <content:encoded><![CDATA[<p>@Nickolas Simard:  Ah cool!</p><p>Still, that doesn&#8217;t distinguish between good and evil sites.</p><p>Do you think this could mean the end of the visited link style?!</p><p>Once this gets into the wrong hands, the cons of keeping the visited link functionality will definitely outweight the pros.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.018 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 04:49:50 -->
