mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:39:49 +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>}
|
{!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>
|
<h3>{download.title}</h3>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -467,11 +467,19 @@ const VideoPlayer = ({
|
|||||||
<h4>
|
<h4>
|
||||||
This video doesn't have any sponsor segments added. To add a segment go to{' '}
|
This video doesn't have any sponsor segments added. To add a segment go to{' '}
|
||||||
<u>
|
<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>{' '}
|
</u>{' '}
|
||||||
and add a segment using the{' '}
|
and add a segment using the{' '}
|
||||||
<u>
|
<u>
|
||||||
<a href="https://sponsor.ajay.app/">SponsorBlock</a>
|
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||||
|
SponsorBlock
|
||||||
|
</a>
|
||||||
</u>{' '}
|
</u>{' '}
|
||||||
extension.
|
extension.
|
||||||
</h4>
|
</h4>
|
||||||
@@ -480,11 +488,19 @@ const VideoPlayer = ({
|
|||||||
<h4>
|
<h4>
|
||||||
This video has unlocked sponsor segments. Go to{' '}
|
This video has unlocked sponsor segments. Go to{' '}
|
||||||
<u>
|
<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>{' '}
|
</u>{' '}
|
||||||
and vote on the segments using the{' '}
|
and vote on the segments using the{' '}
|
||||||
<u>
|
<u>
|
||||||
<a href="https://sponsor.ajay.app/">SponsorBlock</a>
|
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||||
|
SponsorBlock
|
||||||
|
</a>
|
||||||
</u>{' '}
|
</u>{' '}
|
||||||
extension.
|
extension.
|
||||||
</h4>
|
</h4>
|
||||||
|
|||||||
@@ -130,7 +130,11 @@ const ChannelAbout = () => {
|
|||||||
{channel.channel_active && (
|
{channel.channel_active && (
|
||||||
<p>
|
<p>
|
||||||
Youtube:{' '}
|
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
|
Active
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -316,7 +320,7 @@ const ChannelAbout = () => {
|
|||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
Overwrite{' '}
|
Overwrite{' '}
|
||||||
<a href="https://sponsor.ajay.app/" target="_blank">
|
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||||
SponsorBlock
|
SponsorBlock
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -180,6 +180,7 @@ const Playlist = () => {
|
|||||||
<a
|
<a
|
||||||
href={`https://www.youtube.com/playlist?list=${playlist.playlist_id}`}
|
href={`https://www.youtube.com/playlist?list=${playlist.playlist_id}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
Active
|
Active
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -779,7 +779,11 @@ const SettingsApplication = () => {
|
|||||||
<li>Make sure to contribute to this excellent project.</li>
|
<li>Make sure to contribute to this excellent project.</li>
|
||||||
<li>
|
<li>
|
||||||
More details{' '}
|
More details{' '}
|
||||||
<a target="_blank" href="https://returnyoutubedislike.com/">
|
<a
|
||||||
|
href="https://returnyoutubedislike.com/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
here
|
here
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
@@ -794,7 +798,11 @@ const SettingsApplication = () => {
|
|||||||
<li>Make sure to contribute to this excellent project.</li>
|
<li>Make sure to contribute to this excellent project.</li>
|
||||||
<li>
|
<li>
|
||||||
More details{' '}
|
More details{' '}
|
||||||
<a target="_blank" href="https://sponsor.ajay.app/">
|
<a
|
||||||
|
href="https://sponsor.ajay.app/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
here
|
here
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
@@ -831,7 +839,11 @@ const SettingsApplication = () => {
|
|||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
Enable{' '}
|
Enable{' '}
|
||||||
<a target="_blank" href="https://returnyoutubedislike.com/">
|
<a
|
||||||
|
href="https://returnyoutubedislike.com/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
returnyoutubedislike
|
returnyoutubedislike
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -846,7 +858,7 @@ const SettingsApplication = () => {
|
|||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
Enable{' '}
|
Enable{' '}
|
||||||
<a href="https://sponsor.ajay.app/" target="_blank">
|
<a href="https://sponsor.ajay.app/" target="_blank" rel="noopener noreferrer">
|
||||||
Sponsorblock
|
Sponsorblock
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -279,7 +279,11 @@ const Video = () => {
|
|||||||
{video.active && (
|
{video.active && (
|
||||||
<p>
|
<p>
|
||||||
Youtube:{' '}
|
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
|
Active
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user