A user script using Greasemonkey for Firefox or TamperMonkey for Chrome/Chromium can change the behavior. For example:<p><pre><code> // ==UserScript==
// @name add_target_blank
// @namespace com.kludgecode.demonstration
// @include https://news.ycombinator.com/news
// @version 1
// @grant none
// ==/UserScript==
var stories=document.getElementsByClassName("storylink");
for (story of stories) {
story.target = "blank";
};
</code></pre>
Will add the behavior for the Hacker News front page. I tested with Greasemonkey and I'd expect it to work for Tampermonkey.<p>Greasemonkey: <a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/</a><p>Tampermonkey: <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en" rel="nofollow">https://chrome.google.com/webstore/detail/tampermonkey/dhdgf...</a>
I use this Chrome plugin to open links to any external site in a new tab<p><a href="https://chrome.google.com/webstore/detail/open-external-links-in-ne/pmgjfdndcgbblimbigekghdmgkjbffba" rel="nofollow">https://chrome.google.com/webstore/detail/open-external-link...</a>