Mirror of BetterYTM's source code https://github.com/Sv443/BetterYTM

Sv443 fc60c91937 feat: change "change" events to "input" há 1 ano atrás
.github f94cbbe683 ref!: split single file into 7 há 1 ano atrás
.vscode fc60c91937 feat: change "change" events to "input" há 1 ano atrás
dev 9b598a66b8 feat: TS há 1 ano atrás
resources 451b78a027 Update README.md há 2 anos atrás
src fc60c91937 feat: change "change" events to "input" há 1 ano atrás
tools f94cbbe683 ref!: split single file into 7 há 1 ano atrás
.eslintrc.json 9b598a66b8 feat: TS há 1 ano atrás
.gitignore 9b598a66b8 feat: TS há 1 ano atrás
BetterYTM.user.js fc60c91937 feat: change "change" events to "input" há 1 ano atrás
LICENSE.txt f1800d2c93 update license date há 3 anos atrás
README.md f17c343f85 feat: add http-server há 1 ano atrás
changelog.md bb5d8a604e changelog há 3 anos atrás
package-lock.json f94cbbe683 ref!: split single file into 7 há 1 ano atrás
package.json f94cbbe683 ref!: split single file into 7 há 1 ano atrás
tsconfig.json 9b598a66b8 feat: TS há 1 ano atrás
webpack.config.js f54cb527c8 fix: build config há 1 ano atrás

README.md

BetterYTM

Userscript that improves YouTube Music


Features:

  • Use arrow keys to skip forward or backward by 10 seconds
  • Quickly open song lyrics on genius.com
  • Switch between YouTube and YouTube Music on a video by pressing a hotkey (F9 by default)
  • Remove the "Upgrade to YT Music Premium" tab in the title bar


To toggle features on or off, install the userscript, then edit it and look for the big "Settings" banner.
Below it you will find an object with properties that can be set to true or false accordingly.

Once this script is more finished, I might add a menu to toggle these more easily.



Installation:

Requires a userscript manager browser extension. I recommend the following:

Firefox: ViolentMonkey or TamperMonkey
Chrome: ViolentMonkey or TamperMonkey
Edge: ViolentMonkey or TamperMonkey


Once you have the extension, click this button to install the userscript:



Development:

Command Description
npm run lint Lints the userscript with ESLint
npm run build Builds the userscript
npm run watch Watches, rebuilds and serves the userscript on port 8710, so it can be updated live if set up correctly in the userscript manager

When using ViolentMonkey, after running the command npm run watch, open http://localhost:8710/BetterYTM.user.js and select the Track local file option.
This makes it so the userscript automatically updates itself when the code changes.



Disclaimers:

  • I am not affiliated with YouTube, Google, Alphabet, Genius, or anyone else.
  • I do not own any third party icons, I just re-host them here for better stability and availability.
  • I do not intend to ever collect any data about you, everything in this script is done and stored locally on your device or on the respective site's servers.
  • I can't guarantee this software is without flaws. If something bad happens, I don't accept blame. I do however accept bug reports and feature requests.







Made with ❤️ by [Sv443](https://github.com/Sv443) If you like this userscript, please consider [supporting me](https://github.com/sponsors/Sv443) © 2022 Sv443 - [MIT license](./LICENSE.txt)