News for hackers. Stuff that matters.
Re:Ask YC: Would it make sense to build a social news site ... by some on Monday March 03, 2008 @05:14PM (#128364)
I would prefer the loop this way:

  for each(a in links) 
   if (a.host && (a.host!=thisdomain || String(a).match(/item\?id=/)))
    a.target = "_blank";
Re:Ask YC: Would it make sense to build a social news site ... by joshwa on Tuesday March 04, 2008 @12:41AM (#128643)
What can I say, I don't actually know JS. I just cargo-culted this from another similar script.