[PREVIEW] 2.0.0 - Release Candidate 1
Pre-release
Pre-release
Sv443
released this
21 May 19:56
·
1030 commits
to develop
since this release
Click to expand the changelog at the time of 4db30e8
- Added features:
- Keep the volume synced between tabs
- Set an initial volume level once per tab
- Hide the cursor after a set amount of inactivity while hovering over the video
- Show a thumbnail overlay over the video element (or open the thumbnail in a new tab) automatically and/or manually, depending on configuration
?si
parameter is removed in YT's share menu too now- Added an "above-queue" button to clear the currently playing queue / playlist
- Fix rendering issues when using HDR
- Disable the Dark Reader extension on both pages (because it messes up the layout)
- Changes / Fixes:
- Improved the config menu
- Created new toggle input (because checkboxes don't come close to looking as good)
- Added an
advanced mode
option that reveals a set of hidden settings, and lots of new settings that were previously not configurable - Improved styling and layout of menu substantially, especially when using different languages
- Now an option to open the config menu is shown on YT too
- Made a bunch of features not require a page reload anymore
- Fixed tooltip that is set on the wrong element
- Fixed queue buttons not being shown when navigating with tab key
- Tons of accessibility improvements for screenreader users (feedback regarding this is strongly welcome!)
- Improved the config menu
- Internal Changes:
- Improved script performance
- Implemented new SelectorObserver instances to improve overall performance by quite a lot
- Implemented rising-edge debounce for SelectorObserver instances to massively improve responsiveness
- Added a cache to save lyrics in. Up to 1000 of the most listened to songs are saved throughout sessions for 30 days to save time and reduce server load.
- Implemented new SelectorObserver instances to improve overall performance by quite a lot
- Implemented new class BytmDialog for less duplicate code, better maintainability, the ability to make more menus easier and for them to have better accessibility
- Expanded plugin interface
- Added function to register plugins (see contributing guide)
All plugins that are not registered will have restricted access to the BetterYTM API (subject to change in the future). - Plugins are now given access to the classes
BytmDialog
andNanoEmitter
, and the functionsonInteraction()
,getThumbnailUrl()
,getBestThumbnailUrl()
createHotkeyInput()
,createToggleInput()
andcreateCircularBtn()
- Added function to register plugins (see contributing guide)
- Added an experimental fuzzy filtering algorithm when fetching lyrics to eventually yield more accurate results (hidden behind advanced mode because it's far from perfect)
- Improved script performance
This version is almost finished but may still contain a few tiny bugs.
It is highly recommended you fully remove the script and reinstall it manually once the update is released.