From 84d16c15874631786a9937ec018a9bd2c8554fba Mon Sep 17 00:00:00 2001 From: Yamboy1 Date: Fri, 10 Jan 2020 07:27:59 +1300 Subject: [PATCH] The lbry api changed... --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 108f1dd..c343b50 100644 --- a/background.js +++ b/background.js @@ -83,7 +83,7 @@ function validateVideo (id) { let title = data.data.videos[id] if (title != null) { - let url = "https://lbry.tv/" + title + let url = "https://lbry.tv/" + title.replace(/^lbry:\/\//, "").replace(/#/g, ":"); chrome.tabs.update({url: url}); } });