Add Firefox data consent, repair contributor sign-in, and introduce optional Hide clutter buttons. Harden video navigation, voting, and action layouts with shared browser regression coverage and reproducible release packaging.
Harden Shorts controls, reaction state, and navigation; share voting logic
with the extension; improve ratio-bar rendering; and add comprehensive Jest,
Playwright, artifact, and live-browser regression coverage.
* Added Option to Disable Logging By Default
* Added Userscript Support to Disable Logging
* Formatting and Fixed Compiling
* Updated Description of Setting Option
* Whitespace 😅
* Dot in Description of Setting option
* Typo in JAVASCRIPT
* Userscript - new (spring 2024) UI support
Add new player selector for isVideoLoaded() (fixes#1043)
* Githook tasks for 17f5bdf0 (in a separate commit for readability)
* Fix disappearing dislike counter - userscript
* Fix rate bar in userscript, disable it by default (it has been broken for ages)
* Fix event listeners being thrown away by YouTube in some cases
* Fix disappearing dislike count on button focus/unfocus
* Remove repetitive code from the userscript
* Userscript fix for disappearing dislikes while smartimations play
* Check if smartimationContainer exists
* Properly handle non-existing dislike button
In some cases, dislike button doesn't exist when we're trying to
interact with it. For end users, it manifested as dislike counter
appearing on both dislike button and share button (because
getDislikeButton was falling back to the second child of getButtons()).
I don't see an elegant way of fixing this without creating a fake button
in DOM specifically for this case or rewriting the whole userscript.
Ignoring this would result in errors appearing in console.
---------
Co-authored-by: Felix Nguyen <kokonguyen191@gmail.com>
The dislike number text got disabled whenever we clicked on the dislike button, it was because the addEventListener wasn't being attached to the correct like and dislike buttons (new).
Tested in chrome windows 11, version: 107.0.5304.107
In certain cases (see issue #741), the like/dislike buttons would be considered IN the viewport, despite its parent elements being hidden and its DOMRect being 0 on all sides. This way, added an additional check for considering these "hidden" buttons as NOT in the Viewport.
When like button is clicked, YT will update like count. This conflicts with user option "re-format like numbers". Force update like number.
attn #561#584
Userscript custom colors
using user options #539
Userscript user options
introduce user options to userscript. Using existing options available in extension for now, plus showing update popup.
Part of #539
userscript custom number formats
using user options #539resolves#520