Ry-YouTube Default Settings ์ ์์: Ryan Heida
A browser extension that automatically applies your **default playback quality and speed** on YouTube โ both for regular videos and Shorts. Works on **Google Chrome** and **Mozilla Firefox** from a single Manifest V3 package.
ํ์ฅ ๋ฉํ ๋ฐ์ดํฐ
์ ๋ณด
A browser extension that automatically applies your default playback quality and speed on YouTube โ both for regular videos and Shorts. Works on Google Chrome and Mozilla Firefox from a single Manifest V3 package.
A lightweight add-on: every time you open a YouTube video, your preferred settings are applied automatically, so you no longer need to set the quality and speed manually.
The popup is bilingual (Persian / English), with Persian as the default language.
โจ Features
- ๐ Default speed โ pick from ready-made values (0.25x to 2x) or enter a custom number (0.07 to 16).
- ๐ Default quality โ from 144p up to 4320p (8K), or Auto.
- ๐งฉ Two independent setting sets โ one for
/watch, one for/shorts. - ๐ซ No fallback โ if the selected quality isn't present in the video's menu, the extension does nothing and leaves YouTube's current quality untouched (by design).
- ๐ Browser-language independent โ quality menu detection is based on the
psuffix, not the word "Quality", so it works with any browser language. - ๐ Reset-resistant โ if YouTube resets the speed to 1, it is reapplied automatically.
- ๐ Bilingual UI โ Persian (default) and English, switchable from the popup; your choice is remembered.
- โก No background script โ lighter and more compatible across browsers.
๐ Usage
- Click the extension icon in the toolbar to open the settings popup.
- The enable/disable toggle at the top controls the whole extension.
- In the Videos (
youtube.com/watch) and Shorts (youtube.com/shorts) sections: - Choose a default quality (or "Don't change" to leave quality untouched).
- Choose a default speed from the list, or pick "Customโฆ" and type a number.
- Click Save. Settings are applied immediately to open tabs.
- Go to YouTube and open a video or Short โ your settings are applied automatically.
Language
Use the FA / EN buttons in the top-right of the popup to switch the interface language. Persian is the default; your choice is persisted and restored on the next open.
Important note about quality
If the selected quality (e.g. 720p) is not available in the player menu when a video opens, the extension does nothing. This is intentional: your quality is never changed without your consent, and the video simply plays at YouTube's own default quality.Settings schema
Settings are stored in
chrome.storage.local:{
"enabled": true,
"lang": "fa",
"video": { "quality": "720p", "speed": "1.5" },
"shorts": { "quality": "don't change", "speed": "1" }
}
| Field | Values |
| ---------- | ------------------------------------------------------------------- |
|
enabled | true \| false ||
lang | "fa" \| "en" (default: "fa") ||
quality | "don't change" \| "Auto" \| "144p" โฆ "4320p" ||
speed | numeric string between "0.07" and "16" (e.g. "1.5", "2") |๐ How it works
The extension consists of a single content script on
youtube.com:
- Page detection:
location.pathnamedetermines whether the user is on/watchor/shorts, and the matching setting set is chosen. - New-video detection: because YouTube is a SPA, the
yt-navigate-finishevent and aMutationObserveron the<video>element are used to catch navigation between videos. - Apply speed: sets
video.playbackRateand keeps it alive onratechangeevents against YouTube's resets. - Apply quality:
- Opens the player settings menu (gear button).
- Finds the "Quality" item using a language-independent indicator (an item whose
.ytp-menuitem-contentends withpor isAuto). - Enters the quality submenu and looks for the target option.
- If found โ clicks it. If not found โ closes the menu and does nothing.
The popup uses
i18n.js: a tiny dictionary-based helper. Elements with a data-i18n attribute are translated automatically; data-i18n-title and data-i18n-placeholder are supported too. The chosen language is persisted in storage under the lang key.๐งโ๐ป Development
You can visit the Github repository (https://github.com/Ryan-PG/ry-youtube-defaults-browser-plugin) for development.
๋ฆฌ๋ทฐ์ด 0๋ช
์ด 0์ ์ผ๋ก ํ๊ฐํจ
๊ถํ ๋ฐ ๋ฐ์ดํฐ
ํ์ ๊ถํ:
- youtube.com ๋๋ฉ์ธ์ ์ฌ์ดํธ์์ ์ฌ์ฉ์์ ๋ฐ์ดํฐ์ ์ ๊ทผ
๋ฐ์ดํฐ ์์ง:
- ๊ฐ๋ฐ์๋ ์ด ํ์ฅ ๊ธฐ๋ฅ์ด ๋ฐ์ดํฐ ์์ง์ ์๊ตฌํ์ง ์๋๋ค๊ณ ๋ฐํ๊ณ ์์ต๋๋ค.
์ถ๊ฐ ์ ๋ณด
- ๋ถ๊ฐ ๊ธฐ๋ฅ ๋งํฌ
- ๋ฒ์
- 1.0.0
- ํฌ๊ธฐ
- 55.22 KB
- ๋ง์ง๋ง ์ ๋ฐ์ดํธ
- ํ ๋ฌ ์ (2026๋ 6์ 23์ผ)
- ๊ด๋ จ ์นดํ ๊ณ ๋ฆฌ
- ๋ผ์ด์ ์ค
- Mozilla Public License 2.0
- ๋ฒ์ ๋ชฉ๋ก
- ๋ชจ์์ง์ ์ถ๊ฐ