1 Snippets
<10 Favourites
<10 Downloads

Open external links in new tab

document.addEventListener("DOMContentLoaded", function() { var links = document.querySelectorAll("a[href]"); links.forEach(function(link) { if (link.hostname !== window.location.hostname) { link.setAttribute("target", "_blank");…