Adding noreferrer to all external links.

This commit is contained in:
Roland 2026-02-15 17:26:36 -07:00
parent 50782f47cc
commit 8fc98741d0
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 8 additions and 4 deletions

View file

@ -1018,7 +1018,9 @@ function ArchiveSettingsPage() {
<p {...t}>
These are the settings necessary to configure the <a
href="https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-file#install">SingleFile Browser
href="https://github.com/gildas-lormeau/SingleFile?tab=readme-ov-file#install"
rel='noopener noreferrer'
target='_blank'>SingleFile Browser
Extension</a> to automatically upload to your WROLPi.
</p>

View file

@ -69,6 +69,8 @@ export function DonatePage() {
as='a'
color='blue'
href='https://www.paypal.com/donate/?hosted_button_id=ZH2CN92SMJ66N'
rel='noopener noreferrer'
target='_blank'
label={{
basic: true,
content: 'Donate on PayPal',

View file

@ -71,7 +71,7 @@ function DownloadMessage() {
<Message.Header>Where do I get map files?</Message.Header>
<p>You can download map files from&nbsp;
<a href='https://download.geofabrik.de/'>https://download.geofabrik.de/</a>
<a href='https://download.geofabrik.de/' rel='noopener noreferrer' target='_blank'>https://download.geofabrik.de/</a>
</p>
<p><b>Download only the areas you need</b>. Large regions like all of Asia, or the entire

View file

@ -205,7 +205,7 @@ const ZimSearchEntry = ({zimId, onTag, onUntag, entry}) => {
<TagsSelector selectedTagNames={tag_names} onAdd={localAddTag} onRemove={localUntag}/>
</Grid.Column>
<Grid.Column width={2}>
<Button color='blue' as='a' href={url} target='_blank'>Open</Button>
<Button color='blue' as='a' href={url} target='_blank' rel='noopener noreferrer'>Open</Button>
</Grid.Column>
</Grid>
</Modal.Actions>
@ -316,7 +316,7 @@ export const ZimSearchView = ({suggestions, loading}) => {
const DownloadMessage = () => {
return <InfoMessage>
<p>More Zim files are available from the full Kiwix library&nbsp;
<a href='https://download.kiwix.org/'>https://download.kiwix.org/</a>
<a href='https://download.kiwix.org/' rel='noopener noreferrer' target='_blank'>https://download.kiwix.org/</a>
</p>
</InfoMessage>
}