From 8ef420259a228702ab9ba2e0749dcd2e7e80b8cc Mon Sep 17 00:00:00 2001 From: Marvin Alexander Krebber Date: Tue, 25 Jul 2023 11:49:35 +0200 Subject: [PATCH] speedslider fix --- firefox/popup/settings.html | 8 +++++++- firefox/skipper.js | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/firefox/popup/settings.html b/firefox/popup/settings.html index 6a709680..6ec21509 100644 --- a/firefox/popup/settings.html +++ b/firefox/popup/settings.html @@ -425,7 +425,13 @@

ImportSettings

Changelog

-

1.0.49

+

1.0.50

+
    +
  • Fixed amazon speedslider due to changed layout of amazon
  • +
+
+
+

1.0.49

  • Added Speedslider min,max,step options
  • Added Language: Macedonian
  • diff --git a/firefox/skipper.js b/firefox/skipper.js index 0db66f40..0b1531db 100644 --- a/firefox/skipper.js +++ b/firefox/skipper.js @@ -442,7 +442,7 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar) { if (video) { if (!alreadySlider) { // infobar position for the slider to be added - let position = document.querySelector("[class*=infobar-container]")?.firstChild?.children[2]; + let position = document.querySelector("[class*=infobar-container]")?.firstChild?.lastChild; if (position) { let slider = document.createElement("input"); slider.id = "videoSpeedSlider";