use _blank + noopener + noreferrer consistently

This commit is contained in:
Pavol Rusnak 2023-11-30 16:28:17 +01:00
parent 7704029e59
commit f9c9c52d75
4 changed files with 62 additions and 15 deletions

View File

@ -8,6 +8,7 @@
class="q-btn"
color="white"
target="_blank"
rel="noopener noreferrer"
href="https://github.com/lnbits/lnbits/releases"
v-text="$t('releases')"
></a>
@ -58,6 +59,7 @@
<a
v-if="props.row.link"
target="_blank"
rel="noopener noreferrer"
:href="props.row.link"
v-text="$t('more')"
></a

View File

@ -394,6 +394,7 @@
class="text-secondary float-right"
:href="release.html_url"
target="_blank"
rel="noopener noreferrer"
style="color: inherit"
>{%raw%}{{ $t('release_notes') }}{%endraw%}</a
>

View File

@ -49,7 +49,7 @@
type="a"
href="https://github.com/lnbits/lnbits"
target="_blank"
rel="noopener"
rel="noopener noreferrer"
:label="$t('view_github')"
></q-btn>
<q-btn
@ -58,7 +58,7 @@
type="a"
href="https://legend.lnbits.com/paywall/GAqKguK5S8f6w5VNjS9DfK"
target="_blank"
rel="noopener"
rel="noopener noreferrer"
:label="$t('donate')"
></q-btn>
</div>
@ -82,7 +82,11 @@
></q-btn>
<div class="row">
<div class="col">
<a href="https://github.com/ElementsProject/lightning">
<a
href="https://github.com/ElementsProject/lightning"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/cln.png') }}' : '{{ static_url_for('static', 'images/clnl.png') }}'"
@ -90,7 +94,11 @@
</a>
</div>
<div class="col q-pl-md">
<a href="https://github.com/lightningnetwork/lnd">
<a
href="https://github.com/lightningnetwork/lnd"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/lnd.png') }}' : '{{ static_url_for('static', 'images/lnd.png') }}'"
@ -101,7 +109,11 @@
<div class="row">
<div class="col">
<a href="https://opennode.com">
<a
href="https://opennode.com"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/opennode.png') }}' : '{{ static_url_for('static', 'images/opennodel.png') }}'"
@ -109,7 +121,11 @@
</a>
</div>
<div class="col q-pl-md">
<a href="https://lnpay.co/">
<a
href="https://lnpay.co/"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/lnpay.png') }}' : '{{ static_url_for('static', 'images/lnpayl.png') }}'"
@ -120,7 +136,11 @@
<div class="row">
<div class="col">
<a href="https://github.com/rootzoll/raspiblitz">
<a
href="https://github.com/rootzoll/raspiblitz"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/blitz.png') }}' : '{{ static_url_for('static', 'images/blitzl.png') }}'"
@ -128,7 +148,11 @@
</a>
</div>
<div class="col q-pl-md">
<a href="https://start9.com/">
<a
href="https://start9.com/"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/start9.png') }}' : '{{ static_url_for('static', 'images/start9l.png') }}'"
@ -138,7 +162,11 @@
</div>
<div class="row">
<div class="col">
<a href="https://getumbrel.com/">
<a
href="https://getumbrel.com/"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/umbrel.png') }}' : '{{ static_url_for('static', 'images/umbrell.png') }}'"
@ -146,7 +174,11 @@
</a>
</div>
<div class="col q-pl-md">
<a href="https://mynodebtc.com">
<a
href="https://mynodebtc.com"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/mynode.png') }}' : '{{ static_url_for('static', 'images/mynodel.png') }}'"
@ -156,7 +188,11 @@
</div>
<div class="row">
<div class="col">
<a href="https://github.com/shesek/spark-wallet">
<a
href="https://github.com/shesek/spark-wallet"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/spark.png') }}' : '{{ static_url_for('static', 'images/sparkl.png') }}'"
@ -164,7 +200,11 @@
</a>
</div>
<div class="col q-pl-md">
<a href="https://voltage.cloud">
<a
href="https://voltage.cloud"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/voltage.png') }}' : '{{ static_url_for('static', 'images/voltagel.png') }}'"
@ -174,7 +214,11 @@
</div>
<div class="row">
<div class="col">
<a href="https://getalby.com">
<a
href="https://getalby.com"
target="_blank"
rel="noopener noreferrer"
>
<q-img
contain
:src="($q.dark.isActive) ? '{{ static_url_for('static', 'images/alby.png') }}' : '{{ static_url_for('static', 'images/albyl.png') }}'"

View File

@ -296,7 +296,7 @@
type="a"
href="/docs"
target="_blank"
rel="noopener"
rel="noopener noreferrer"
>
<span v-text="$t('api_docs')"></span>
<q-tooltip
@ -311,7 +311,7 @@
type="a"
href="https://github.com/lnbits/lnbits"
target="_blank"
rel="noopener"
rel="noopener noreferrer"
>
<q-tooltip><span v-text="$t('view_github')"></span></q-tooltip>
</q-btn>