mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 23:09:34 +00:00
Fix do not send referrer when opening youtube, sponsorblock or returndislite links
This commit is contained in:
@@ -47,7 +47,11 @@ const DownloadListItem = ({ download, setRefresh }: DownloadListItemProps) => {
|
||||
|
||||
{!download.channel_indexed && <span>{download.channel_name}</span>}
|
||||
|
||||
<a href={`https://www.youtube.com/watch?v=${download.youtube_id}`} target="_blank">
|
||||
<a
|
||||
href={`https://www.youtube.com/watch?v=${download.youtube_id}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h3>{download.title}</h3>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -467,11 +467,19 @@ const VideoPlayer = ({
|
||||
<h4>
|
||||
This video doesn't have any sponsor segments added. To add a segment go to{' '}
|
||||
<u>
|
||||
<a href={`https://www.youtube.com/watch?v=${videoId}`}>this video on YouTube</a>
|
||||
<a
|
||||
href={`https://www.youtube.com/watch?v=${videoId}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
this video on YouTube
|
||||
</a>
|
||||
</u>{' '}
|
||||
and add a segment using the{' '}
|
||||
<u>
|
||||
<a href="https://sponsor.ajay.app/">SponsorBlock</a>
|
||||
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||
SponsorBlock
|
||||
</a>
|
||||
</u>{' '}
|
||||
extension.
|
||||
</h4>
|
||||
@@ -480,11 +488,19 @@ const VideoPlayer = ({
|
||||
<h4>
|
||||
This video has unlocked sponsor segments. Go to{' '}
|
||||
<u>
|
||||
<a href={`https://www.youtube.com/watch?v=${videoId}`}>this video on YouTube</a>
|
||||
<a
|
||||
href={`https://www.youtube.com/watch?v=${videoId}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
this video on YouTube
|
||||
</a>
|
||||
</u>{' '}
|
||||
and vote on the segments using the{' '}
|
||||
<u>
|
||||
<a href="https://sponsor.ajay.app/">SponsorBlock</a>
|
||||
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||
SponsorBlock
|
||||
</a>
|
||||
</u>{' '}
|
||||
extension.
|
||||
</h4>
|
||||
|
||||
@@ -130,7 +130,11 @@ const ChannelAbout = () => {
|
||||
{channel.channel_active && (
|
||||
<p>
|
||||
Youtube:{' '}
|
||||
<a href={`https://www.youtube.com/channel/${channel.channel_id}`} target="_blank">
|
||||
<a
|
||||
href={`https://www.youtube.com/channel/${channel.channel_id}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Active
|
||||
</a>
|
||||
</p>
|
||||
@@ -316,7 +320,7 @@ const ChannelAbout = () => {
|
||||
<div>
|
||||
<p>
|
||||
Overwrite{' '}
|
||||
<a href="https://sponsor.ajay.app/" target="_blank">
|
||||
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||
SponsorBlock
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -180,6 +180,7 @@ const Playlist = () => {
|
||||
<a
|
||||
href={`https://www.youtube.com/playlist?list=${playlist.playlist_id}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Active
|
||||
</a>
|
||||
|
||||
@@ -779,7 +779,11 @@ const SettingsApplication = () => {
|
||||
<li>Make sure to contribute to this excellent project.</li>
|
||||
<li>
|
||||
More details{' '}
|
||||
<a target="_blank" href="https://returnyoutubedislike.com/">
|
||||
<a
|
||||
href="https://returnyoutubedislike.com/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
here
|
||||
</a>
|
||||
.
|
||||
@@ -794,7 +798,11 @@ const SettingsApplication = () => {
|
||||
<li>Make sure to contribute to this excellent project.</li>
|
||||
<li>
|
||||
More details{' '}
|
||||
<a target="_blank" href="https://sponsor.ajay.app/">
|
||||
<a
|
||||
href="https://sponsor.ajay.app/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
here
|
||||
</a>
|
||||
.
|
||||
@@ -831,7 +839,11 @@ const SettingsApplication = () => {
|
||||
<div>
|
||||
<p>
|
||||
Enable{' '}
|
||||
<a target="_blank" href="https://returnyoutubedislike.com/">
|
||||
<a
|
||||
href="https://returnyoutubedislike.com/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
returnyoutubedislike
|
||||
</a>
|
||||
</p>
|
||||
@@ -846,7 +858,7 @@ const SettingsApplication = () => {
|
||||
<div>
|
||||
<p>
|
||||
Enable{' '}
|
||||
<a href="https://sponsor.ajay.app/" target="_blank">
|
||||
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||
Sponsorblock
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -279,7 +279,11 @@ const Video = () => {
|
||||
{video.active && (
|
||||
<p>
|
||||
Youtube:{' '}
|
||||
<a href={`https://www.youtube.com/watch?v=${video.youtube_id}`} target="_blank">
|
||||
<a
|
||||
href={`https://www.youtube.com/watch?v=${video.youtube_id}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Active
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user