<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coffee on the Keyboard &#187; links</title>
	<atom:link href="http://coffeeonthekeyboard.com/tag/links/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffeeonthekeyboard.com</link>
	<description>by James Socol</description>
	<lastBuildDate>Mon, 06 Feb 2012 23:33:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>		<item>
		<title>Firefox: Open in Blank Tab</title>
		<link>http://coffeeonthekeyboard.com/firefox-open-in-blank-tab-197/</link>
		<comments>http://coffeeonthekeyboard.com/firefox-open-in-blank-tab-197/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 14:47:41 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/?p=197</guid>
		<description><![CDATA[If you don&#8217;t use Firefox 3, go get it. Then finish this article. (Safari and Opera users are excused, but there&#8217;s no promise this will work for them.) One of my (few) gripes with Firefox is that bookmarks on the toolbar have no &#8220;open in blank tab&#8221; option. They have an &#8220;open in sidebar&#8221; option, [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t use Firefox 3, <a href="http://www.mozilla.com/en-US/">go get it</a>. Then finish this article. (Safari and Opera users are excused, but there&#8217;s no promise this will work for them.)</p>
<p>One of my (few) gripes with Firefox is that bookmarks on the toolbar have no &#8220;open in blank tab&#8221; option. They have an &#8220;open in sidebar&#8221; option, but those uses are rare and esoteric at best. Personally, I never use the sidebar.</p>
<p>&#8220;Open in blank tab&#8221; should basically do this: if there is a blank tab, use it; if not, create a new tab. Frankly, it could just open in a new tab regardless, but it seems like such an easy thing to add.</p>
<p>But? It can&#8217;t be done directly in Firefox. Hence, I present this small script:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">javascript:</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><span class="kw2">var</span> u=<span class="st0">&#8216;http://mail.google.com/mail&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>window.<span class="me1">location</span>==<span class="st0">&#8216;about:blank&#8217;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; window.<span class="me1">location</span>=u;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; window.<span class="kw3">open</span><span class="br0">&#40;</span>u,<span class="st0">&#8221;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#41;</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>That&#8217;s it. Try dragging this link to <a href="javascript:(function(){var%20u='http://mail.google.com/mail';%20if(window.location=='about:blank'){window.location=u;}else{window.open(u,'');}})();">GMail</a> to your bookmark toolbar. Then click the link on your toolbar. Now, open a new tab, and click the link again.</p>
<p>This isn&#8217;t exactly what I asked for. It has no way of knowing if any blank tab exists, only if the current tab is blank. And, of course, it lacks the nice favicon support.</p>
<p>But it does the job. If you change the variable <code>u</code> to something other than &#8216;http://mail.google.com/mail&#8217;, you can make the link open any other page.</p>
<p>I love anonymous functions.</p>
<p><strong>Update:</strong> If you want a bookmark for something besides GMail, you can <a href="javascript:(function(){var u=prompt('Enter the URL to open in a blank tab.','http://');prompt('Copy the text below into a new bookmark.',&quot;javascript:(function(){var u='&quot;+u+&quot;';if(window.location=='about:blank'){window.location=u;}else{window.open(u,'');}})();&quot;);})();">create your own</a>. Or you can drag <em>this</em> link to your toolbar, to make new ones whenever you want: <a href="javascript:(function(){var u=prompt('Enter the URL to open in a blank tab.',window.location);prompt('Copy the text below into a new bookmark.',&quot;javascript:(function(){var u='&quot;+u+&quot;';if(window.location=='about:blank'){window.location=u;}else{window.open(u,'');}})();&quot;);})();">Open in Blank Tab</a>.</p>
<p><strong>Update 2:</strong> Oops, fixed the &#8220;create your own&#8221; link. Tested it, then accidentally pasted in the results, instead of the actual script.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/firefox-open-in-blank-tab-197/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exploring the Web</title>
		<link>http://coffeeonthekeyboard.com/exploring-the-web-102/</link>
		<comments>http://coffeeonthekeyboard.com/exploring-the-web-102/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 17:28:03 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[discover]]></category>
		<category><![CDATA[exploring]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[Reading Material]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/exploring-the-web-102/</guid>
		<description><![CDATA[Last week, as I was demonstrating Ning in my office, someone asked me how I find things like this. Honestly, I could not remember when or how I discovered Ning, which prompted me to pay attention over the past week, and to ask you. (It was also a good excuse to write a short post [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, as I was demonstrating <a href="http://ning.com/">Ning</a> in my office, someone asked me how I find things like this. Honestly, I could not remember when or how I discovered Ning, which prompted me to pay attention over the past week, and to <a href="http://coffeeonthekeyboard.com/how-do-you-find-new-things-99/" title="ask you">ask you</a>.</p>
<p>(It was also a good excuse to write a short post since I&#8217;m still recovering from some wrist strain.)</p>
<p>So what did I find in the past week or so, and where did I find it? Twitter, unsurprisingly, has been the best source, though not always directly. Second best is what I&#8217;ll call &#8220;secondary finds,&#8221; when I visit one project and then follow to the author&#8217;s other projects. Blogs were a close third.</p>
<p>I should admit that I didn&#8217;t keep notes or stats, but I&#8217;m fairly good at keeping track of things like this, so I trust my own numbers.</p>
<p><a href="http://checkyesorno.info/">CheckYesOrNo.info</a> is a nifty, Twitter-friendly site for yes-or-no poll questions like &#8220;<a href="http://checkyesorno.info/93">Will you participate in Mozilla&#8217;s FF3 Download Day June 17th?</a>&#8221; (Yes.) Found it when @<a href="http://twitter.com/benrasmusen">benrasmusen</a> tweeted a question.</p>
<p><a href="http://issuu.com/">Issuu</a> is a publishing social network. They have some kinks to work out but I see definite potential here. Found it when my cousin tweeted a link.</p>
<p><a href="http://www.twingly.com/">Twingly</a> is like <a href="http://technorati.com/">Technorati</a> reborn, a new, more focused blog search tool. Chris Brogan <a href="http://www.chrisbrogan.com/corporate-takeover-web-style/">blogged about it</a>.</p>
<p><a href="http://www.laterloop.com/">LaterLoop</a> helps you store sites to read later. Very popular on Twitter.</p>
<p><a href="http://www.timetomeet.info/">TimeToMeet.info</a> is from the same people as LaterLoop, and is a very slick multi-timezone meeting planner.</p>
<p>These are just some of the highlights of this week. I&#8217;ve perused quite a few little projects here and there, some good, some bad. I think there are three things that lead to discoveries like this:</p>
<p><strong>Keep your eyes open</strong>.  When people link something, check it out (or use LaterLoop and do it later).</p>
<p>If you see a link like http://checkyesorno.info/93, try getting rid of the &#8220;93&#8243; and visit the site itself. <strong>Visit the site, not just the page.</strong></p>
<p>If you like a site, scroll down and look at the footer. Most projects, particularly by independent developers and small companies, have links to the developer&#8217;s site, which probably has links to other projects. <strong>Look at their other projects</strong>. If someone had one good idea and put it together, odds are they&#8217;ve had others.</p>
<p>Any more ideas from out there in the blogosphere?</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/exploring-the-web-102/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

