Pinning quality range to 1080p and above.
This commit is contained in:
parent
d9c6e2ca05
commit
5cf1ab851f
|
@ -12,8 +12,8 @@ Better YouTube + works to improve the YouTube experience by providing quick acce
|
||||||
* It shows volume level as you scroll.
|
* It shows volume level as you scroll.
|
||||||
* It lets Unix, Linux, and MacOS systems have the ability to download the video using native app calls.
|
* It lets Unix, Linux, and MacOS systems have the ability to download the video using native app calls.
|
||||||
|
|
||||||
# Version: 1.5.9
|
# Version: 1.6.0
|
||||||
* Updated quality detection range
|
* Pinning quality range to 1080p and above.
|
||||||
|
|
||||||
# Download
|
# Download
|
||||||
https://addons.mozilla.org/en-US/firefox/addon/better-youtube-plus/
|
https://addons.mozilla.org/en-US/firefox/addon/better-youtube-plus/
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
const prefs = {
|
const prefs = {
|
||||||
hd: true,
|
hd: true,
|
||||||
once: false,
|
once: false,
|
||||||
higher: false,
|
higher: true,
|
||||||
quality: ["hd1080", 'hd720', 'auto'],
|
quality: ["hd1080"],
|
||||||
log: false,
|
log: false,
|
||||||
highFramerate: true
|
highFramerate: true
|
||||||
};
|
};
|
||||||
|
@ -47,10 +47,10 @@ script.textContent = `
|
||||||
// ['hd2160', 'hd1440', 'hd1080', 'hd720', 'large', 'medium', 'small', 'tiny', 'auto']
|
// ['hd2160', 'hd1440', 'hd1080', 'hd720', 'large', 'medium', 'small', 'tiny', 'auto']
|
||||||
const qualities = player.getAvailableQualityLevels();
|
const qualities = player.getAvailableQualityLevels();
|
||||||
const q = player.getPlaybackQuality();
|
const q = player.getPlaybackQuality();
|
||||||
if ((q.startsWith('h') && prefs.quality.startsWith('h')) && prefs.hd === 'true') {
|
// if ((q.startsWith('h') && prefs.quality.startsWith('h')) && prefs.hd === 'true') {
|
||||||
console.log("Quality matches requested resolution...");
|
// console.log("Quality matches requested resolution...");
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
const compare = (q1, q2) => {
|
const compare = (q1, q2) => {
|
||||||
if (q2 === 'auto') {
|
if (q2 === 'auto') {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Better Youtube +",
|
"name": "Better Youtube +",
|
||||||
"version": "1.5.9",
|
"version": "1.6.0",
|
||||||
"description": "Enhancements for Youtube to have a better experience.",
|
"description": "Enhancements for Youtube to have a better experience.",
|
||||||
|
|
||||||
"applications": {
|
"applications": {
|
||||||
|
|
Loading…
Reference in New Issue