noopener noreferrer all the links
This commit is contained in:
parent
cb04659ab1
commit
eeb89212d2
4 changed files with 12 additions and 4 deletions
|
@ -209,7 +209,11 @@ function AccountInfo({
|
||||||
<div class="ui-state">
|
<div class="ui-state">
|
||||||
<p>Unable to load account.</p>
|
<p>Unable to load account.</p>
|
||||||
<p>
|
<p>
|
||||||
<a href={account} target="_blank">
|
<a
|
||||||
|
href={isString ? account : url}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
Go to account page <Icon icon="external" />
|
Go to account page <Icon icon="external" />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -1303,7 +1303,7 @@ function Status({
|
||||||
icon={visibilityIconsMap[visibility]}
|
icon={visibilityIconsMap[visibility]}
|
||||||
alt={visibilityText[visibility]}
|
alt={visibilityText[visibility]}
|
||||||
/>{' '}
|
/>{' '}
|
||||||
<a href={url} target="_blank">
|
<a href={url} target="_blank" rel="noopener noreferrer">
|
||||||
<time
|
<time
|
||||||
class="created"
|
class="created"
|
||||||
datetime={createdAtDate.toISOString()}
|
datetime={createdAtDate.toISOString()}
|
||||||
|
|
|
@ -30,7 +30,7 @@ export default function HttpRoute() {
|
||||||
<>
|
<>
|
||||||
<h2>Unable to process URL</h2>
|
<h2>Unable to process URL</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href={url} target="_blank">
|
<a href={url} target="_blank" rel="noopener noreferrer">
|
||||||
{url}
|
{url}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -443,7 +443,11 @@ function Settings({ onClose }) {
|
||||||
@phanpy
|
@phanpy
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="https://github.com/cheeaun/phanpy" target="_blank">
|
<a
|
||||||
|
href="https://github.com/cheeaun/phanpy"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
Built
|
Built
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
by{' '}
|
by{' '}
|
||||||
|
|
Loading…
Add table
Reference in a new issue