lundi 29 juillet 2019

how to have pdf links on chrome browsers without being blocked?

We have a website that chrome is blocking pdfs which have been written with href="x.pdf", I have been researching and saw that we have to change the header of the page to become pdf by Content-Disposition , another solution was to have the pdfs on an iframe.

I was wondering what is the best way to have pdfs which can be read by all browsers without any issues, for example iframe might not be a good solution for SEO purposes, or changing a header on server side might not be very applicable.

I would be glad to know your thoughts.




Aucun commentaire:

Enregistrer un commentaire