From 0fdf3f4a0c6a618bab834e07a0a474b494833f1d Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 17 Mar 2022 18:12:31 +0300 Subject: [PATCH] Forgot to uncomment a code. Bump version to 1.5.5 --- src/assets/javascripts/helpers/youtube/youtube.js | 8 ++++---- src/manifest.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/assets/javascripts/helpers/youtube/youtube.js b/src/assets/javascripts/helpers/youtube/youtube.js index 10e8cba..acdb8eb 100644 --- a/src/assets/javascripts/helpers/youtube/youtube.js +++ b/src/assets/javascripts/helpers/youtube/youtube.js @@ -578,10 +578,10 @@ function initInvidiousCookies() { }, cookie => { let prefs = {}; - // if (cookie) { - // prefs = JSON.parse(decodeURIComponent(cookie.value)); - // browser.cookies.remove({ url: instanceUrl, name: "PREFS" }); - // } + if (cookie) { + prefs = JSON.parse(decodeURIComponent(cookie.value)); + browser.cookies.remove({ url: instanceUrl, name: "PREFS" }); + } prefs.local = invidiousAlwaysProxy; prefs.dark_mode = theme; diff --git a/src/manifest.json b/src/manifest.json index 7382ba2..54068ee 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "LibRedirect", "description": "A web extension that redirects popular sites to alternative privacy-friendly frontends and backends", - "version": "1.5.4", + "version": "1.5.5", "manifest_version": 2, "background": { "page": "pages/background/background.html",