about summary refs log tree commit diff stats
path: root/src/assets/javascripts/services.js
diff options
context:
space:
mode:
authorGlen Lowland <glenlowland@proton.me>2023-05-25 18:12:59 +0100
committerGlen Lowland <glenlowland@proton.me>2023-05-25 18:12:59 +0100
commita659c520f00395e81d3aaae3a637126aa2a16a00 (patch)
treeae4c4843bb353d4a451ce0aaf3117fd2b381b270 /src/assets/javascripts/services.js
parentForgot to re-generate html, it made a problem (diff)
downloadlibredirect-a659c520f00395e81d3aaae3a637126aa2a16a00.zip
Fix "Search LibRedirect" from context menu
When you try to select a text on a page and click a "Search LibRedirect"
on Google Chrome - it does not redirect to the frontend and shows error page.
After an investigation and debug, I saw Chrome passes details.initiator = "null" for such requests.
Handle this case in code and allow redirects.
Diffstat (limited to 'src/assets/javascripts/services.js')
0 files changed, 0 insertions, 0 deletions