Archive for July, 2008

javascript open tab browser link

Thursday, 10 July 2008

Someone just asked me how to open a link in a new tab with JavaScript (in Firefox). I thought it couldn’t be done. Went looking for confirmation, and discovered that it can be done, sort of. This post by Larry Williams from March 2005 explains how to open a new tab with JavaScript (from an extension). However the current top-ranked link to this post on Google inexplicably points to a non-existent entry from January 2005 instead. I’m posting this spider-friendly corrected pointer as a public service announcement. You’re welcome.