summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background.js2
-rw-r--r--manifest.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/background.js b/background.js
index adbdb40..ab04f95 100644
--- a/background.js
+++ b/background.js
@@ -66,6 +66,8 @@ function redirectYouTube(url) {
// Redirect requests for YouTube Player API to local files instead
return chrome.runtime.getURL('assets/www-widgetapi.js');
} else {
+ // Proxy video through the server
+ url.searchParams.append('local', true);
return `${invidiousInstance}${url.pathname}${url.search}`;
}
}
diff --git a/manifest.json b/manifest.json
index 81a1442..6f93540 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Privacy Redirect",
"description": "Redirects Twitter, YouTube & Instagram requests to privacy friendly alternatives - Nitter, Invidious, & Bibliogram.",
- "version": "1.1.8",
+ "version": "1.1.9",
"manifest_version": 2,
"background": {
"scripts": [