🐞"1x" speed button remains visible after disabling "Increase/Decrease Speed buttons"
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:
- Open any YouTube video.
- Go to Player -> Extra buttons inside the player.
- Toggle "Increase/Decrease Speed buttons" to ON. (Speed buttons appear).
- Toggle "Increase/Decrease Speed buttons" to OFF.
- 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.
I'd like to work pn this issue
It looks like PR #3831 is already addressing this issue. You might want to check its status first.
Thanks to the contributors for #3831 and #3832. Closing as resolved.