More noopener noreferrer

This commit is contained in:
Lim Chee Aun 2023-10-02 15:58:59 +08:00
parent 348efe0069
commit 52c63690a3

View file

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