Skip to content

Commit

Permalink
speedslider fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Jul 25, 2023
1 parent f4e1ed2 commit 8ef4202
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion firefox/popup/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,13 @@ <h2 i18n>ImportSettings</h2>
<h2>Changelog</h2>
<div>
<div class="line flex">
<h2>1.0.49</h2>
<h2>1.0.50</h2>
<ul>
<li>Fixed amazon speedslider due to changed layout of amazon</li>
</ul>
</div>
<div class="line flex">
<p>1.0.49</p>
<ul>
<li>Added Speedslider min,max,step options</li>
<li>Added Language: Macedonian</li>
Expand Down
2 changes: 1 addition & 1 deletion firefox/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 8ef4202

Please sign in to comment.