Is it possible to stop Safari from loading pdf files in a tab or browser window?

Its ok when I know the file is a pdf, I can right click and download the it.

Thanks in anticipation.

Best wishes
edward