JohnyP36 / YT-Nonstop

Extension to let YouTube run nonstop with autoplay, autoconfirm and automatic pressing the loopbutton.
GNU General Public License v2.0
14 stars 1 forks source link

Jammed play/pause button in FF #12

Closed JohnyP36 closed 1 year ago

JohnyP36 commented 1 year ago

Prerequisites

I tried to reproduce the issue when...

Describe the issue

When playing videos for a long time on YouTube - in Firefox - the play/pause button doesn't work anymore. This means that as I pause the video it gets directly unpaused. I looked into the logs and saw that the code found here and here causes the problem.

https://github.com/JohnyP36/YT-Nonstop/blob/13abd3b33bcf99aac73a55bbe834b7bf78021888/manifest_v2/js/autoplay%2Bloop.js#L110-L116 https://github.com/JohnyP36/YT-Nonstop/blob/13abd3b33bcf99aac73a55bbe834b7bf78021888/manifest_v2/js/autoplay%2Bloop.js#L131-L132

Also in your manifest_v3 this functions are disabled.

Screenshot(s)

No response

Browser & Extension version

Firefox 107 & 2.0.4.2

Operating System & Version

Windows 10, 22H2

Notes

Just put // before the lines of code shown above.