Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nautilus-based PDF files blocked by Google chrome macOS #96

Open
Popolechien opened this issue Oct 4, 2024 · 3 comments
Open

Nautilus-based PDF files blocked by Google chrome macOS #96

Popolechien opened this issue Oct 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Popolechien
Copy link
Contributor

Popolechien commented Oct 4, 2024

Whenever I try to open a PDF on a Nautilus zim-file (for example this one) I get an error message This page has been blocked by Chrome ERR_BLOCKED_BY_CLIENT
Image

This behaviour does not happen on Firefox macOS, nor does it happen on Windows Chrome.
When trying to open PDFs from zimit-generated files (for instance any of these) I can not reproduce the issue and the PDF opens normally.

Am running Chrome on macOS Sonoma 14.6.1 (23G93).

But is this an Apple issue or a Nautilus issue, or something else? I am not sure.

@Popolechien Popolechien added bug Something isn't working question Further information is requested labels Oct 4, 2024
@rgaudin
Copy link
Member

rgaudin commented Oct 4, 2024

Yeah that 's Chrome specific (and I believe you might have different mac and windows versions of it).

This is triggered by the target="_blank" attribute on the link. This was added for #71 but I think it was for older (not that old) iOS Safari.

@kelson42 could you test both links on your iPad?

@rgaudin rgaudin removed the question Further information is requested label Oct 4, 2024
@kelson42
Copy link
Contributor

kelson42 commented Oct 7, 2024

Everything works fine with Safar for iOS18. Issue seems a Duplicate of kiwix/kiwix-tools#670 ?

@rgaudin
Copy link
Member

rgaudin commented Oct 9, 2024

@kelson42 no it's not, as I mentioned during the call, the issue expresses itself also on /content endpoint, so out of the kiwix-serve iframe.

That said, I can't reproduce #71 anymore as all the devices I have access to are up to date. What's your suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants