about summary refs log tree commit diff stats
path: root/src/assets/javascripts/reuters.js
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-06-23 08:34:57 +0300
committerManeraKai <manerakai@protonmail.com>2022-06-23 08:34:57 +0300
commit1d0111201b285918583eb5e95b68c5dfd17644c0 (patch)
treeb0fdb7a08386da1092d60f22626d50c274c9c5a5 /src/assets/javascripts/reuters.js
parentMerge branch 'master' of https://github.com/libredirect/libredirect (diff)
downloadlibredirect-1d0111201b285918583eb5e95b68c5dfd17644c0.zip
Made frontend icon appear if the current site is surpports it
Diffstat (limited to 'src/assets/javascripts/reuters.js')
-rw-r--r--src/assets/javascripts/reuters.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assets/javascripts/reuters.js b/src/assets/javascripts/reuters.js
index 1af81495..5f215518 100644
--- a/src/assets/javascripts/reuters.js
+++ b/src/assets/javascripts/reuters.js
@@ -53,8 +53,8 @@ function init() {
 init();
 browser.storage.onChanged.addListener(init)
 
-function redirect(url, type, initiator) {
-    if (disableReuters) return;
+function redirect(url, type, initiator, disableOverride) {
+    if (disableReuters && !disableOverride) return;
     if (type != "main_frame") return;
     const all = [
         ...reutersRedirects.neuters.normal,