youtube icon indicating copy to clipboard operation
youtube copied to clipboard

🐞"1x" speed button remains visible after disabling "Increase/Decrease Speed buttons"

Open hkzo opened this issue 7 months ago • 3 comments

Bug Report:

  • Description: When the "Increase/Decrease Speed buttons" option (under "Extra buttons inside the player") is toggled ON and then OFF, the "1x" playback speed button remains visible in the player bar while the "+" and "-" buttons are correctly removed.
  • Steps to reproduce this:
    1. Open any YouTube video.
    2. Go to Player -> Extra buttons inside the player.
    3. Toggle "Increase/Decrease Speed buttons" to ON. (Speed buttons appear).
    4. Toggle "Increase/Decrease Speed buttons" to OFF.
    5. The "1x" button remains in the player bar.
  • Since when?: Confirmed in version 4.2026.
  • Browser: Firefox 150
  • Are any errors shown in the Browser-Console?: None.
  • Does the bug not happen when you log out of YouTube? Not tested.

OPTIONAL (usually):

  • Expected preferred behavior: The "1x" speed indicator/button should be removed from the DOM along with the "+" and "-" buttons when the feature is disabled.
  • ImprovedTube Version: 4.2026
  • Tested as only active extension or in incognito mode?: Yes.
  • OS / Device: macOS

Technical Notes / Potential Cause:

I've identified a potential cause in the source code. In js&css/web-accessible/core.js (around line 361), when the feature is toggled to false, the code removes the plus/minus buttons but does not remove the "1x" button.

Source Reference: https://github.com/code-charity/youtube/blob/0a0afb1e05a04da0d8103d2f8e4c10dc4355df94/js%26css/web-accessible/core.js#L361-L368

It would be great if the 1x button element could also be targeted for remove() when the toggle is false.

hkzo avatar May 03 '26 03:05 hkzo

I'd like to work pn this issue

Pallavi-p-h avatar May 04 '26 08:05 Pallavi-p-h

It looks like PR #3831 is already addressing this issue. You might want to check its status first.

hkzo avatar May 04 '26 10:05 hkzo

Thanks to the contributors for #3831 and #3832. Closing as resolved.

hkzo avatar Jul 01 '26 01:07 hkzo