Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 31295c5

Browse files
zodiac-G12atinux
andauthored
Add rel="noopener noreferrer" to index.vue (#524)
There is an unsafe part in index.vue #523 #523 Co-authored-by: zodiac <anonymous> Co-authored-by: Sébastien Chopin <[email protected]>
1 parent 586800a commit 31295c5

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

Diff for: packages/cna-template/template/frameworks/framevuerk/pages/index.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
<label class="fv-text-light"> <i class="material-icons">list</i> Documents </label>
4949
</div>
5050
<div class="fv-padding">
51-
<a class="fv-link fv-block fv-margin-bottom" target="_blank" href="https://www.framevuerk.com/"><i class="material-icons">link</i> Framevuerk Docs</a>
52-
<a class="fv-link fv-block fv-margin-bottom" target="_blank" href="https://github.com/framevuerk/framevuerk"><i class="material-icons">link</i> Framevuerk on Github</a>
53-
<a class="fv-link fv-block fv-margin-bottom" target="_blank" href="https://nuxtjs.org/"><i class="material-icons">link</i> Nuxt Docs</a>
54-
<a class="fv-link fv-block" target="_blank" href="https://github.com/nuxt/nuxt.js"><i class="material-icons">link</i> Nuxt on GitHub</a>
51+
<a class="fv-link fv-block fv-margin-bottom" target="_blank" rel="noopener noreferrer" href="https://www.framevuerk.com/"><i class="material-icons">link</i> Framevuerk Docs</a>
52+
<a class="fv-link fv-block fv-margin-bottom" target="_blank" rel="noopener noreferrer" href="https://github.com/framevuerk/framevuerk"><i class="material-icons">link</i> Framevuerk on Github</a>
53+
<a class="fv-link fv-block fv-margin-bottom" target="_blank" rel="noopener noreferrer" href="https://nuxtjs.org/"><i class="material-icons">link</i> Nuxt Docs</a>
54+
<a class="fv-link fv-block" target="_blank" rel="noopener noreferrer" href="https://github.com/nuxt/nuxt.js"><i class="material-icons">link</i> Nuxt on GitHub</a>
5555
</div>
5656
</div>
5757
</fvMenu>

Diff for: packages/cna-template/template/frameworks/iview/pages/index.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
Welcome to the iView + Nuxt.js template
1010
</h2>
1111
<div class="links">
12-
<Button type="primary" target="_blank" to="https://nuxtjs.org/">
12+
<Button type="primary" target="_blank" rel="noopener noreferrer" to="https://nuxtjs.org/">
1313
Documentation
1414
</Button>
15-
<Button target="_blank" to="https://github.com/nuxt/nuxt.js">
15+
<Button target="_blank" rel="noopener noreferrer" to="https://github.com/nuxt/nuxt.js">
1616
GitHub
1717
</Button>
18-
<Button target="_blank" to="https://www.iviewui.com/">
18+
<Button target="_blank" rel="noopener noreferrer" to="https://www.iviewui.com/">
1919
iView
2020
</Button>
2121
</div>

Diff for: packages/cna-template/template/frameworks/vuesax/pages/index.vue

+5
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,23 @@
1919
<a
2020
href="https://vuesax.com/"
2121
target="_blank"
22+
rel="noopener noreferrer"
2223
class="button--green"
2324
>
2425
Documentation
2526
</a>
2627
<a
2728
href="https://discordapp.com/invite/9dsKtvB"
2829
target="_blank"
30+
rel="noopener noreferrer"
2931
class="button--grey"
3032
>
3133
Discord
3234
</a>
3335
<a
3436
href="https://github.com/lusaxweb/vuesax"
3537
target="_blank"
38+
rel="noopener noreferrer"
3639
class="button--grey"
3740
>
3841
GitHub
@@ -45,13 +48,15 @@
4548
<a
4649
href="https://nuxtjs.org/"
4750
target="_blank"
51+
rel="noopener noreferrer"
4852
class="button--green"
4953
>
5054
Documentation
5155
</a>
5256
<a
5357
href="https://github.com/nuxt/nuxt.js"
5458
target="_blank"
59+
rel="noopener noreferrer"
5560
class="button--grey"
5661
>
5762
GitHub

Diff for: packages/cna-template/template/frameworks/vuetify/pages/index.vue

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
For more information on Vuetify, check out the <a
2424
href="https://vuetifyjs.com"
2525
target="_blank"
26+
rel="noopener noreferrer"
2627
>
2728
documentation
2829
</a>.
@@ -31,6 +32,7 @@
3132
If you have questions, please join the official <a
3233
href="https://chat.vuetifyjs.com/"
3334
target="_blank"
35+
rel="noopener noreferrer"
3436
title="chat"
3537
>
3638
discord
@@ -40,6 +42,7 @@
4042
Find a bug? Report it on the github <a
4143
href="https://github.com/vuetifyjs/vuetify/issues"
4244
target="_blank"
45+
rel="noopener noreferrer"
4346
title="contribute"
4447
>
4548
issue board
@@ -53,13 +56,15 @@
5356
<a
5457
href="https://nuxtjs.org/"
5558
target="_blank"
59+
rel="noopener noreferrer"
5660
>
5761
Nuxt Documentation
5862
</a>
5963
<br>
6064
<a
6165
href="https://github.com/nuxt/nuxt.js"
6266
target="_blank"
67+
rel="noopener noreferrer"
6368
>
6469
Nuxt GitHub
6570
</a>

Diff for: packages/cna-template/template/nuxt/pages/index.vue

+2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
<a
1010
href="https://nuxtjs.org/"
1111
target="_blank"
12+
rel="noopener noreferrer"
1213
class="button--green"
1314
>
1415
Documentation
1516
</a>
1617
<a
1718
href="https://github.com/nuxt/nuxt.js"
1819
target="_blank"
20+
rel="noopener noreferrer"
1921
class="button--grey"
2022
>
2123
GitHub

0 commit comments

Comments
 (0)