Comment

Comment by some

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";
parent some 18 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton