How to make Safari open all PDFs in-browser?
Solution 1:
As pointed out, the first three examples are direct links to the PDF files in question while the other two are controlled by a server script in the background.
There is nothing what you can do about it on your side since the server fully controls the distribution of documents in the two last example links you provided.