BetterYTM

YouTube Music™ 和 YouTube™ 的可配置布局和用户体验改进

这是此脚本的所有版本。 只显示代码更新过的版本

  • v2.2.0 2024-11-11

    Read the full changelog on GitHub - in summary:

    • Changes:
      • Replaced the monospace font Cascadia Code with Cousine
      • Due to massive incompatibilities on FireMonkey, the script will show an error and not execute under the extension anymore
    • Fixes:
      • Fixed errors in TamperMonkey because of missing @connect directives
      • Fixed locale codes not using the correct format (en_US instead of the correct format en-US)
      • Fixed changelog not updating on new releases and thus the update notification dialog would also show an outdated changelog
      • Fixed auto-like channel toggle button disappearing after changing channel page tabs on both pages
      • Fixed duplicate logo if the ThemeSong extension is installed
      • Fixed tab opening with the resolved lyrics URL when ctrl-clicking the lyrics button
  • v2.1.0 2024-10-08

    Click here to open the full changelog

    • Added features:
      • Added a feature to like songs and videos of certain channels (on both sites) automatically.
        The button to toggle auto-liking will only show up on channel pages until the next update. Please report any issues you encounter.
      • Added the ability to show the approximate amount of likes and dislikes on the currently playing song (powered by Return YouTube Dislike)
      • Added support for themes set by the ThemeSong extension
      • Added a dialog for listing the currently installed and active plugins including some metadata
    • Changes:
      • Made song/video time remembering enabled by default on YT too
      • Made reset button in config menu a feature of type button
      • Welcome menu is now shown on YT too
      • Added Ctrl modifier key to every lyrics button to open a lyrics search prompt
      • Added Shift and Ctrl modifier keys to the above-queue buttons that will skip prompts or customize their behavior in other ways
      • Arrow key and number key skipping works more reliably and now also in the config menu
      • Changed default settings for some features.
        After updating, if the values were unchanged from their previous default, they will automatically have the new default value:
      • Remember Song Time Sites: if set to YTM only, it changes to both sites
      • Volume Slider Scroll Sensitivity: if set to 10%, it changes to 4%
      • Made some settings require advanced mode that didn't before:
      • Fix spacing/layout issues
      • Fix HDR issues
      • Disable Dark Reader sites
      • Remove share tracking parameter sites
      • Placement of list/queue buttons
      • Removed broken feature "remove upgrade tab"
      • Removed unnecessary experimental feature "advancedLyricsFilter" as the API's native search improved a lot
      • Made all integration features configurable and gave them their own config category
      • Created a prompt dialog to replace the browser's native dialogs, which could accidentally be turned off by the user and would softlock the script
      • Made all <code> tags use the Cascadia Code font
    • Fixes:
      • Fixed major bug that threw "This document requires 'TrustedHTML' assignment" errors on Chromium browsers
      • Adjusted script to UI redesign of playlists
      • Fixed song list buttons disappearing when dragging the row around
      • Fixed song list buttons not always appearing immediately
      • Fixed escape closing all open dialogs instead of one at a time
      • Fixed "added to liked songs" toast not being consistently closed
      • Fixed messed up time restoration feature on YT because of the &t param
      • Fixed broken autoplay queue delete button after a redesign
      • Fixed transparent player bar background in fullscreen being barely readable with thumbnail overlay active
      • Fixed thumbnail overlay not updating in fullscreen mode and in the mini player
      • Fixed video time restoring breaking after pausing for a longer time
      • Fixed toasts being shown with a 1000x higher duration than intended
      • Fixed volume slider features not working anymore when display width shrinks to below 1150px
  • v2.0.0 2024-05-22
    • 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!)
    • 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 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 more functions and classes - 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)
      • Resource URL versioning was improved, so all versions from now on will still work in the future when the URLs could change
  • v1.1.1 2024-02-19
  • v1.1.1 2024-02-19

    [Please refer to the changelog on GitHub](https://github.com/Sv443/BetterYTM/blob/main/changelog.md#111)

  • v1.1.0 2024-02-15

    Please refer to the changelog on GitHub

  • v1.0.2 2023-09-22
  • v1.0.2 2023-09-19
  • v1.0.2 2023-09-19

    Add link to BetterYTM's OUJS page & update changelog

  • v1.0.1 2023-09-19
  • v1.0.1 2023-09-19

    Added a greasyfork link in the configuration menu

  • v1.0.0 2023-09-19