Removed noreferrer from watch video link so third parties can track traffic.

This commit is contained in:
DebaucheryLibrarian 2024-12-19 22:33:05 +01:00
parent 750b55aa47
commit 1cfc3baf95
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<a <a
:class="{ active: pageContext.urlPathname === $attrs.href || active }" :class="{ active: pageContext.urlPathname === $attrs.href || active }"
rel="noopener noreferrer" rel="noopener"
> >
<slot /> <slot />
</a> </a>

View File

@ -106,15 +106,16 @@
>View photos</button> >View photos</button>
--> -->
<Link <a
v-if="scene.watchUrl" v-if="scene.watchUrl"
:href="scene.watchUrl" :href="scene.watchUrl"
target="_blank" target="_blank"
rel="noopener"
class="button button-primary watch nolink" class="button button-primary watch nolink"
:data-umami-event="scene.affiliate ? 'watch-click-aff' : 'watch-click'" :data-umami-event="scene.affiliate ? 'watch-click-aff' : 'watch-click'"
:data-umami-event-aff-id="scene.affiliate?.id" :data-umami-event-aff-id="scene.affiliate?.id"
:data-umami-event-scene-id="scene.id" :data-umami-event-scene-id="scene.id"
>Watch full video</Link> >Watch full video</a>
</div> </div>
</div> </div>
</div> </div>

2
static

@ -1 +1 @@
Subproject commit 569efa23b47385ce2ed9d2cdbae33f1d180b2753 Subproject commit 3d26382892215138f86fc2efc658d12ae115f5ff