quasarframework / app-extension-qpdfviewer

View PDF documents in your Quasar app
https://quasarframework.github.io/app-extension-qpdfviewer
MIT License
104 stars 19 forks source link

Demo pdfs are failing to load #18

Closed hailwood closed 5 years ago

hailwood commented 5 years ago

Hi @hawkeye64

Just letting you know the the adobe hosted pdfs are failing to load on the demo page. They must have updated their content security policies.

hawkeye64 commented 5 years ago

yeah, probably. Thanks for letting me know. I'll have to put some local ones on the server.

hawkeye64 commented 5 years ago

hmmm, they are all working for me. Perhaps you're getting blocked on your end?

image

hawkeye64 commented 5 years ago

I still need local pdfs tho

hailwood commented 5 years ago

Perhaps it's a browser thing? Using google chrome here.

image

Refused to display 'https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors *.adobe.com  http://adobe.lookbookhq.com https://adobe.lookbookhq.com http://adobeenterprise.lookbookhq.com https://adobeenterprise.lookbookhq.com".
about:blank:1 

Refused to display 'https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors *.adobe.com  http://adobe.lookbookhq.com https://adobe.lookbookhq.com http://adobeenterprise.lookbookhq.com https://adobeenterprise.lookbookhq.com".
about:blank:1 

Refused to display 'https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors *.adobe.com".
3content.js:150 

Error: Cannot set user agent for iframe with location different to this page
/app-extension-qpdfviewer/page5:1 

Refused to display 'https://www.ets.org/Media/Tests/GRE/pdf/gre_research_validity_data.pdf' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
hawkeye64 commented 5 years ago

I get this, but they still display. I wonder what the difference might be between our browsers (I am using Chrome): image

hailwood commented 5 years ago

Ok yep, definitely my machine. Got a co-worker to check (running the same OS/browser as me) and they can see them all.

Very strange!