From 05382ab703c25fd5dfd4386fedb3085c00877f73 Mon Sep 17 00:00:00 2001 From: Vincent Vatelot Date: Wed, 15 Mar 2023 13:32:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(popup):=20Make=20link=20to?= =?UTF-8?q?=20url=20target=20blank?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/popup/popup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/popup/popup.js b/src/popup/popup.js index 74de7a8..48170bd 100644 --- a/src/popup/popup.js +++ b/src/popup/popup.js @@ -118,6 +118,7 @@ function makeList(section, ecoindex) { pageLink.textContent = ecoindex.url; pageLink.setAttribute('href', ecoindex.url); pageLink.style.paddingLeft = '5px'; + pageLink.setAttribute('target', '_blank'); li.appendChild(pageLink); const ul = section.getElementsByTagName('ul')[0];