diff options
author | Shlee <github@shl.ee> | 2022-08-26 09:42:46 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 02:12:46 +0200 |
commit | 1fac99e842c99e8f6aef9429ee1f19c7e63f7b07 (patch) | |
tree | 9eb02f84950d88c8a77d69b9cd7459115886bbec | |
parent | 1d84cbeaab7cecdfef10f53afe1e708b8a363603 (diff) |
Add rel="noopener" to links to remote profiles (#19014)
* Update timeline_hint.js * Update timeline_hint.js
-rw-r--r-- | app/javascript/mastodon/components/timeline_hint.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/timeline_hint.js b/app/javascript/mastodon/components/timeline_hint.js index fb55a62cc..ac9a79dcc 100644 --- a/app/javascript/mastodon/components/timeline_hint.js +++ b/app/javascript/mastodon/components/timeline_hint.js @@ -6,7 +6,7 @@ const TimelineHint = ({ resource, url }) => ( <div className='timeline-hint'> <strong><FormattedMessage id='timeline_hint.remote_resource_not_displayed' defaultMessage='{resource} from other servers are not displayed.' values={{ resource }} /></strong> <br /> - <a href={url} target='_blank'><FormattedMessage id='account.browse_more_on_origin_server' defaultMessage='Browse more on the original profile' /></a> + <a href={url} target='_blank' rel='noopener'><FormattedMessage id='account.browse_more_on_origin_server' defaultMessage='Browse more on the original profile' /></a> </div> ); |