From 9ebfbd9e779b6a349ed13054dea90e81117f85bf Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Tue, 21 May 2024 00:37:57 +0300 Subject: [PATCH] Added LightTube https://github.com/libredirect/browser_extension/issues/913 --- src/assets/javascripts/services.js | 2 ++ src/config.json | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 4f9fdac..567ffc8 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -451,6 +451,7 @@ function rewrite(url, frontend, randomInstance) { case "piped": case "pipedMaterial": case "cloudtube": + case "lightTube": case "viewtube": url.searchParams.delete("si") default: @@ -641,6 +642,7 @@ const defaultInstances = { 'piped': ['https://pipedapi-libre.kavin.rocks'], 'pipedMaterial': ['https://piped-material.xn--17b.net'], 'cloudtube': ['https://tube.cadence.moe'], + 'lightTube': ['https://tube.kuylar.dev'], 'poketube': ['https://poketube.fun'], 'proxiTok': ['https://proxitok.pabloferreiro.es'], 'redlib': ['https://safereddit.com'], diff --git a/src/config.json b/src/config.json index 937ef37..6985fac 100644 --- a/src/config.json +++ b/src/config.json @@ -66,6 +66,12 @@ 3 ] }, + "lightTube": { + "name": "LightTube", + "embeddable": false, + "instanceList": true, + "url": "https://github.com/lighttube-org/LightTube" + }, "tuboYoutube": { "name": "Tubo", "embeddable": false,