From 52c63690a3a4bebc352fff6aa03d16fd7fa6b8f4 Mon Sep 17 00:00:00 2001
From: Lim Chee Aun <cheeaun@gmail.com>
Date: Mon, 2 Oct 2023 15:58:59 +0800
Subject: [PATCH] More noopener noreferrer

---
 src/pages/settings.jsx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/pages/settings.jsx b/src/pages/settings.jsx
index 33172faa..56fe2ffe 100644
--- a/src/pages/settings.jsx
+++ b/src/pages/settings.jsx
@@ -339,6 +339,7 @@ function Settings({ onClose }) {
                     <a
                       href="https://github.com/thedaviddelta/lingva-translate"
                       target="_blank"
+                      rel="noopener noreferrer"
                     >
                       Lingva Translate
                     </a>
@@ -435,6 +436,7 @@ function Settings({ onClose }) {
               <a
                 href="https://hachyderm.io/@phanpy"
                 // target="_blank"
+                rel="noopener noreferrer"
                 onClick={(e) => {
                   e.preventDefault();
                   states.showAccount = 'phanpy@hachyderm.io';
@@ -454,6 +456,7 @@ function Settings({ onClose }) {
               <a
                 href="https://mastodon.social/@cheeaun"
                 // target="_blank"
+                rel="noopener noreferrer"
                 onClick={(e) => {
                   e.preventDefault();
                   states.showAccount = 'cheeaun@mastodon.social';
@@ -467,6 +470,7 @@ function Settings({ onClose }) {
             <a
               href="https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD"
               target="_blank"
+              rel="noopener noreferrer"
             >
               Privacy Policy
             </a>
@@ -481,6 +485,7 @@ function Settings({ onClose }) {
                   <a
                     href={`https://github.com/cheeaun/phanpy/commit/${__COMMIT_HASH__}`}
                     target="_blank"
+                    rel="noopener noreferrer"
                   >
                     <code>{__COMMIT_HASH__}</code>
                   </a>