Apr 22 2009

Firefox: Open in Blank Tab

If you don’t use Firefox 3, go get it. Then finish this article. (Safari and Opera users are excused, but there’s no promise this will work for them.)

One of my (few) gripes with Firefox is that bookmarks on the toolbar have no “open in blank tab” option. They have an “open in sidebar” option, but those uses are rare and esoteric at best. Personally, I never use the sidebar.

“Open in blank tab” 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.

But? It can’t be done directly in Firefox. Hence, I present this small script:

javascript:
(function(){var u=‘http://mail.google.com/mail’;
  if(window.location==‘about:blank’){
    window.location=u;
  }else{
    window.open(u,);
  }
)();

That’s it. Try dragging this link to GMail to your bookmark toolbar. Then click the link on your toolbar. Now, open a new tab, and click the link again.

This isn’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.

But it does the job. If you change the variable u to something other than ‘http://mail.google.com/mail’, you can make the link open any other page.

I love anonymous functions.

Update: If you want a bookmark for something besides GMail, you can create your own. Or you can drag this link to your toolbar, to make new ones whenever you want: Open in Blank Tab.

Update 2: Oops, fixed the “create your own” link. Tested it, then accidentally pasted in the results, instead of the actual script.


Jun 17 2008

Exploring the Web

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 since I’m still recovering from some wrist strain.)

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’ll call “secondary finds,” when I visit one project and then follow to the author’s other projects. Blogs were a close third.

I should admit that I didn’t keep notes or stats, but I’m fairly good at keeping track of things like this, so I trust my own numbers.

CheckYesOrNo.info is a nifty, Twitter-friendly site for yes-or-no poll questions like “Will you participate in Mozilla’s FF3 Download Day June 17th?” (Yes.) Found it when @benrasmusen tweeted a question.

Issuu 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.

Twingly is like Technorati reborn, a new, more focused blog search tool. Chris Brogan blogged about it.

LaterLoop helps you store sites to read later. Very popular on Twitter.

TimeToMeet.info is from the same people as LaterLoop, and is a very slick multi-timezone meeting planner.

These are just some of the highlights of this week. I’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:

Keep your eyes open. When people link something, check it out (or use LaterLoop and do it later).

If you see a link like http://checkyesorno.info/93, try getting rid of the “93″ and visit the site itself. Visit the site, not just the page.

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’s site, which probably has links to other projects. Look at their other projects. If someone had one good idea and put it together, odds are they’ve had others.

Any more ideas from out there in the blogosphere?