diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-02-13 22:04:44 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-02-13 22:04:44 +0300 |
commit | bbe6fcdef73405b3c25fdd921674a8321ab56beb (patch) | |
tree | 75903f930b4a0304070a144090b94efb0011436c /src/assets/javascripts/helpers | |
parent | fixed a typo #28 (diff) | |
download | libredirect-bbe6fcdef73405b3c25fdd921674a8321ab56beb.zip |
Fixed a bug in reddit options page
Diffstat (limited to 'src/assets/javascripts/helpers')
-rw-r--r-- | src/assets/javascripts/helpers/instagram.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/assets/javascripts/helpers/instagram.js b/src/assets/javascripts/helpers/instagram.js index 890e0ef3..904a935e 100644 --- a/src/assets/javascripts/helpers/instagram.js +++ b/src/assets/javascripts/helpers/instagram.js @@ -104,8 +104,6 @@ function redirect(url, initiator, type) { if (initiator && (instancesList.includes(initiator.origin) || targets.includes(initiator.host))) return null; - - // Do not redirect /accounts, /embeds.js, or anything other than main_frame if (type !== "main_frame" || url.pathname.match(bypassPaths)) return 'CANCEL'; |