diff --git a/src/components/LinkV2.vue b/src/components/LinkV2.vue
index c47b460b60..6eeef99ecb 100644
--- a/src/components/LinkV2.vue
+++ b/src/components/LinkV2.vue
@@ -20,6 +20,15 @@ export default class Link extends Vue {
@Prop({ default: false })
readonly isInline!: boolean;
+ @Prop({ default: false })
+ readonly ugc!: boolean;
+
+ @Prop({ default: false })
+ readonly nofollow!: boolean;
+
+ @Prop({ default: false })
+ readonly noreferrer!: boolean;
+
get tag() {
if (this.to) return 'NuxtLink';
return 'a';
@@ -27,12 +36,14 @@ export default class Link extends Vue {
get attrs() {
if (this.to) return { to: this.to };
- if (this.href)
+ if (this.href) {
+ const rel = ['noopener'];
return {
href: this.href,
target: '_blank',
- rel: 'noopener',
+ rel: rel.join(' '),
};
+ }
return {};
}
diff --git a/src/components/NFTPage/EventList/Table.vue b/src/components/NFTPage/EventList/Table.vue
index 359200c33d..f2ae18e424 100644
--- a/src/components/NFTPage/EventList/Table.vue
+++ b/src/components/NFTPage/EventList/Table.vue
@@ -134,6 +134,7 @@
class="text-left"
:href="getChainExplorerTx(event.txHash)"
:is-inline="true"
+ :nofollow="true"
@click.native.stop
>