Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser authored Jul 30, 2023
1 parent bfbb0dd commit 0435da9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/vot-cloudflare-min.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vot-cloudflare.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3071,7 +3071,7 @@ async function src_main() {

videoData.responseLanguage = translateToLang;

if (window.location.hostname.includes("youtube.com")) {
if (window.location.hostname.includes("youtube.com") && videoData.duration !== 0) {
ytData = await getYTVideoData();
if (ytData.author !== "")
ytData = await setDetectedLangauge(ytData, ytData.detectedLanguage);
Expand Down
2 changes: 1 addition & 1 deletion dist/vot-min.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ async function src_main() {

videoData.responseLanguage = translateToLang;

if (window.location.hostname.includes("youtube.com")) {
if (window.location.hostname.includes("youtube.com") && videoData.duration !== 0) {
ytData = await getYTVideoData();
if (ytData.author !== "")
ytData = await setDetectedLangauge(ytData, ytData.detectedLanguage);
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ async function main() {

videoData.responseLanguage = translateToLang;

if (window.location.hostname.includes("youtube.com")) {
if (window.location.hostname.includes("youtube.com") && videoData.duration !== 0) {
ytData = await getYTVideoData();
if (ytData.author !== "")
ytData = await setDetectedLangauge(ytData, ytData.detectedLanguage);
Expand Down

0 comments on commit 0435da9

Please sign in to comment.