News for hackers. Stuff that matters.
Re:Target="_blank" by RiderSargent on Thursday July 18, 2013 @09:19AM (#6063390)
If you use Greasemonkey, you can use the following user script (only adds the target attribute to article links):

  // ==UserScript==  
  // @grant       none  
  // @match       https://news.ycombinator.com/*  
  // @name        Hacker News Tweeks  
  // @namespace   https://github.com/ridersargent  
  // @require http://code.jquery.com/jquery-latest.js  
  // ==/UserScript==  
  $(document).ready(function() {  
    // set article-related links to open in new window/tab  
    $('.subtext a, .title:not(:last) a').attr('target', '_blank');  
  });

There are no comments on this comment yet.