about summary refs log tree commit diff stats
path: root/src/pages/background
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-03-05 14:16:58 +0300
committerManeraKai <manerakai@protonmail.com>2022-03-05 14:16:58 +0300
commita1b0d078d79bd8d5bc63a3eba103cbd96fcf25b5 (patch)
tree9c60d07d751e774ba6a141d23e1cc2e6d5c7067a /src/pages/background
parentAdding more settings and combining theme in the general page #80 (diff)
downloadlibredirect-a1b0d078d79bd8d5bc63a3eba103cbd96fcf25b5.zip
Added Bibliogram settings and theme support #80
Diffstat (limited to 'src/pages/background')
-rw-r--r--src/pages/background/background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/background/background.js b/src/pages/background/background.js
index 02e575c0..e2f99b23 100644
--- a/src/pages/background/background.js
+++ b/src/pages/background/background.js
@@ -116,6 +116,7 @@ browser.tabs.onUpdated.addListener(
     catch (_) { return }
     if (youtubeHelper.isPipedorInvidious(url, 'main_frame', 'piped')) youtubeHelper.initPipedLocalStorage(tabId);
     if (twitterHelper.isNitter(url, 'main_frame')) newUrl = twitterHelper.initNitterCookies(url);
+    if (instagramHelper.isBibliogram(url)) instagramHelper.initBibliogramCookies(url);
     // if (changeInfo.url && youtubeHelper.isPipedorInvidious(url, 'main_frame', 'pipedMaterial')) youtubeHelper.initPipedMaterialLocalStorage(tabId);
     // if (changeInfo.url && youtubeHelper.isUrlPipedorInvidious(changeInfo.url, 'invidious')) youtubeHelper.initInvidiousCookies(tabId);
   });
\ No newline at end of file