Skip to content

avi12/youtube-auto-hd

Repository files navigation

YouTube Auto HD + FPS

A browser extension that sets the quality of YouTube/YouTube Music/Short videos according to the user's preference, based on the video's FPS
Available for:

Screenshots screenshot 1 screenshot 2

Made by Avi

Powered by WXT

Contact me

You can suggest a feature or report a bug

Known issue

Due to the way the browsers handle extensions, when an extension receives an update, content scripts in previously-open web pages cannot use the Storage API until the user reloads them. This means that if YTHD received an update and the user attempts to change a setting, he must reload the such pages for the settings to take effect

A semi working solution

To provide a smooth user experience, I decided to use the last settings that were fetched

Translating

You can translate the extension to your own language by filling this form
Filling will eventually grant you access to a Google Spreadsheet via email, in which you can contribute your translations

Requirements for setting up

Install Node.js and pnpm 11+

Install dependencies

pnpm i

Start the dev server and run in a test browser

Chrome

pnpm dev

Chrome RTL

pnpm dev:rtl

Opera

pnpm dev:opera

Firefox

Continuously build with

pnpm dev:firefox

Run using web-ext:

pnpm run:firefox

Build

Chrome

pnpm build

Opera

pnpm build:opera

Firefox

pnpm build:firefox

Package

Chrome

pnpm package

Opera

pnpm package:opera

Firefox

pnpm package:firefox

Shorthands

Chrome

pnpm build:package

Opera

pnpm build:package:opera

Firefox

pnpm build:package:firefox

Contribution

Feel free to contribute! Keep in mind that the license I chose is GPL v3
If you want to fork, make sure to credit Avi and link to this repository.

About

A simple browser extension for changing YouTube videos' quality based on FPS.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors