diff --git a/chrome/popup/settings.html b/chrome/popup/settings.html
index 4c6a10f2..8338c1ae 100644
--- a/chrome/popup/settings.html
+++ b/chrome/popup/settings.html
@@ -415,42 +415,42 @@
PageSpecificTitle;Prime Video
StreamLinksDescription
+ sharedSettingsDescription;Prime Video
+
+
+
CreditsSwitch
+
+
+
+
WatchCreditsSwitch
+
+
+
+
FreeveeSwitch
+
+
+ -->
@@ -504,42 +504,42 @@
PageSpecificTitle;Netflix
+
sharedSettingsDescription;Netflix
+
+
+
CreditsSwitch
+
+
+
+
WatchCreditsSwitch
+
+
+
+
-->
@@ -553,35 +553,35 @@
PageSpecificTitle;Disney+
empty
+
sharedSettingsDescription;Disney+
+
+
+
CreditsSwitch
+
+
+
+
WatchCreditsSwitch
+
+
+
-->
SkippedTime
@@ -631,6 +631,12 @@
ImportSettings
Changelog
+
+
1.0.60
+
+ - fixed Netflix ad skip: skips too far
+
+
1.0.59
diff --git a/chrome/skipper.js b/chrome/skipper.js
index 05235a48..1d36a208 100644
--- a/chrome/skipper.js
+++ b/chrome/skipper.js
@@ -590,17 +590,20 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar) {
}
const video = document.querySelector("video");
const adLength = Number(document.querySelector(".ltr-mmvz9h")?.textContent);
+ // 16 max but too fast
if (video) {
- let playBackRate = 16;
+ let playBackRate = 8;
if (isEdge) playBackRate = 3;
- if (adLength && video.playbackRate != playBackRate) {
+ if (adLength > 8 && video.playbackRate != playBackRate) {
log("Ad skipped, length:", adLength, "s");
settings.Statistics.NetflixAdTimeSkipped += adLength;
increaseBadge();
video.playbackRate = playBackRate;
+ } else if (adLength > 2 && video.playbackRate < 2) {
+ video.playbackRate = adLength / 2;
} else if (adLength && video.paused) {
video.play();
- } else if (video.playbackRate == playBackRate && !adLength) {
+ } else if (adLength <= 2 || !adLength) {
video.playbackRate = 1;
}
}
diff --git a/firefox/popup/settings.html b/firefox/popup/settings.html
index 816af2c8..e587e617 100644
--- a/firefox/popup/settings.html
+++ b/firefox/popup/settings.html
@@ -626,6 +626,12 @@ ImportSettings
Changelog
+
+
1.0.60
+
+ - fixed Netflix ad skip: skips too far
+
+
1.0.59
diff --git a/firefox/skipper.js b/firefox/skipper.js
index c876752a..cf8823af 100644
--- a/firefox/skipper.js
+++ b/firefox/skipper.js
@@ -594,17 +594,20 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar) {
}
const video = document.querySelector("video");
const adLength = Number(document.querySelector(".ltr-mmvz9h")?.textContent);
+ // 16 max but too fast
if (video) {
- let playBackRate = 16;
+ let playBackRate = 8;
if (isEdge) playBackRate = 3;
- if (adLength && video.playbackRate != playBackRate) {
+ if (adLength > 8 && video.playbackRate != playBackRate) {
log("Ad skipped, length:", adLength, "s");
settings.Statistics.NetflixAdTimeSkipped += adLength;
increaseBadge();
video.playbackRate = playBackRate;
+ } else if (adLength > 2 && video.playbackRate < 2) {
+ video.playbackRate = adLength / 2;
} else if (adLength && video.paused) {
video.play();
- } else if (video.playbackRate == playBackRate && !adLength) {
+ } else if (adLength <= 2 || !adLength) {
video.playbackRate = 1;
}
}