From fde3d7b897c2d725006605550a070c6d69e9b899 Mon Sep 17 00:00:00 2001 From: Shiba <44804845+DeepDoge@users.noreply.github.com> Date: Mon, 10 Jan 2022 17:05:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=A3=20added=20support=20for=20new=20in?= =?UTF-8?q?vidious=20nodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - vid.puffyan.us - invidio.xamh.de - invidious.kavin.rocks --- src/common/settings.ts | 2 +- src/manifest.json | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/common/settings.ts b/src/common/settings.ts index 9a37163..5114354 100644 --- a/src/common/settings.ts +++ b/src/common/settings.ts @@ -80,7 +80,7 @@ export interface SourcePlatform { export const sourcePlatfromSettings: Record = { "yewtu.be": { - hostnames: ['yewtu.be'], + hostnames: ['yewtu.be', 'vid.puffyan.us', 'invidio.xamh.de', 'invidious.kavin.rocks'], htmlQueries: { mountButtonBefore: '#watch-on-youtube', videoPlayer: '#player-container video' diff --git a/src/manifest.json b/src/manifest.json index 8b25bec..057a69e 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -4,10 +4,13 @@ "permissions": [ "https://www.youtube.com/", "https://yewtu.be/", - "https://api.odysee.com/*", - "https://lbry.tv/*", - "https://odysee.com/*", - "https://madiator.com/*", + "https://vid.puffyan.us/", + "https://invidio.xamh.de/", + "https://invidious.kavin.rocks/", + "https://api.odysee.com/", + "https://lbry.tv/", + "https://odysee.com/", + "https://madiator.com/", "tabs", "storage" ], @@ -15,7 +18,10 @@ { "matches": [ "https://www.youtube.com/*", - "https://yewtu.be/*" + "https://yewtu.be/*", + "https://vid.puffyan.us/*", + "https://invidio.xamh.de/*", + "https://invidious.kavin.rocks/*" ], "js": [ "scripts/ytContent.js"