From 0f50b816be5ba45d63f536c636dc16056755d2f9 Mon Sep 17 00:00:00 2001 From: SimonBrazell Date: Mon, 13 Jul 2020 21:47:40 +1000 Subject: [PATCH] Fix autoplay param & French pop-up title --- _locales/fr/messages.json | 4 ++-- background.js | 4 +--- manifest.json | 2 +- pages/options/options.html | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index fe2eaaf..ef172d1 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -88,11 +88,11 @@ "description": "Boutton des options supplémentaires (pop-up)." }, "privacy": { - "message": "Vie privée", + "message": "Privacy", "description": "Titre du module complémentaire - Vie privée (pop-up)." }, "redirect": { - "message": "Redirection", + "message": "Redirect", "description": "Titre du module complémentaire - Redirection (pop-up)." } } \ No newline at end of file diff --git a/background.js b/background.js index 021ccbb..9556175 100644 --- a/background.js +++ b/background.js @@ -264,9 +264,7 @@ function redirectYouTube(url, initiator, type) { if (invidiousSubtitles) { url.searchParams.append('subtitles', invidiousSubtitles); } - if (invidiousAutoplay) { - url.searchParams.append('autoplay', invidiousAutoplay); - } + url.searchParams.append('autoplay', invidiousAutoplay ? 1 : 0); return `${invidiousInstance}${url.pathname}${url.search}`; } diff --git a/manifest.json b/manifest.json index 5329a28..41f0469 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "1.1.35", + "version": "1.1.36", "manifest_version": 2, "background": { "scripts": [ diff --git a/pages/options/options.html b/pages/options/options.html index ca6429f..e254765 100644 --- a/pages/options/options.html +++ b/pages/options/options.html @@ -172,7 +172,7 @@

Invidious Player Style