Skip to content

avi12/youtube-auto-hd

Repository files navigation

YouTube Auto HD + FPS

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

A screenshot from the extension's pop-up page

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, which 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 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

Install dependencies

pnpm i

Start the dev server & run in a test browser

Chrome

pnpm dev

Chrome RTL

pnpm dev:rtl

Edge

pnpm dev:edge

Opera

pnpm dev:opera

Firefox

pnpm dev:firefox

Build

Chrome

pnpm build

Edge

pnpm build:edge

Opera

pnpm build:opera

Firefox

pnpm build:firefox

Package

Chrome

pnpm package

Edge

pnpm package:edge

Opera

pnpm package:opera

Firefox

pnpm package:firefox

Shorthands

Chrome

pnpm build:package

Edge

pnpm build:package:edge

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.