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

error in fetching pdf #43

Open
satra opened this issue Jan 18, 2019 · 3 comments
Open

error in fetching pdf #43

satra opened this issue Jan 18, 2019 · 3 comments

Comments

@satra
Copy link

satra commented Jan 18, 2019

Refused to display 'https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0067778&type=printable' in a frame because it set 'X-Frame-Options' to 'deny'.

image

@Sharabesh
Copy link
Collaborator

Hey @satra, I don't know if there's a reasonable way to get around this as it's a security measure implemented by the browser - did you recommend just deleting the option for View Full Article in the case that it's not available? I figured having the link to the article at least appear may be helpful.

@satra
Copy link
Author

satra commented Jul 1, 2019

@Sharabesh - this is not so much that the article is unavailable, but cannot be done with a pure client side option. perhaps a scenario where the article could be opened in a new window instead of an iframe if the server responds with specific X-Frame-Options ?

@62442katieb
Copy link
Collaborator

@satra @Sharabesh we've discussed doing away with the iframe altogether and replacing it with an open new window + bookmarklet solution, but haven't implemented such a change yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants