From 2e9aa88efcc33ca28569c181c5a5a487971f08e3 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 13 Nov 2023 19:11:32 +0300 Subject: [PATCH] user/jan: add config for redirector extension --- home/users/jan/browser/Redirector.json | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 home/users/jan/browser/Redirector.json diff --git a/home/users/jan/browser/Redirector.json b/home/users/jan/browser/Redirector.json new file mode 100644 index 0000000..8c60af8 --- /dev/null +++ b/home/users/jan/browser/Redirector.json @@ -0,0 +1,40 @@ +{ + "createdBy": "Redirector v3.5.3", + "createdAt": "2023-11-13T11:18:28.295Z", + "redirects": [ + { + "description": "youtu.be -> individous", + "exampleUrl": "https://youtu.be/MYRBI-X5nfhI?si=sSoZBk9bB7NSEE8j", + "exampleResult": "https://invidious.fdn.fr/watch?v=MYRBI-X5nfhI", + "error": null, + "includePattern": "https://youtu.be/([\\w-]+)(\\?.*)?", + "excludePattern": "", + "patternDesc": "get video id from url", + "redirectUrl": "https://invidious.fdn.fr/watch?v=$1", + "patternType": "R", + "processMatches": "noProcessing", + "disabled": false, + "grouped": false, + "appliesTo": [ + "main_frame" + ] + }, + { + "description": "youtube.com -> individous", + "exampleUrl": "https://www.youtube.com/watch?v=jQ-KdWyzKfE", + "exampleResult": "https://invidious.fdn.fr/watch?v=jQ-KdWyzKfE", + "error": null, + "includePattern": "https://(?:www\\.)?youtube\\.com/watch\\?v=([\\w-]+)(&.*)?", + "excludePattern": "", + "patternDesc": "get video id from url", + "redirectUrl": "https://invidious.fdn.fr/watch?v=$1", + "patternType": "R", + "processMatches": "noProcessing", + "disabled": false, + "grouped": false, + "appliesTo": [ + "main_frame" + ] + } + ] +} \ No newline at end of file