Instead of downloading PDF, how to force PDF to open/view in browser only?

Thanks for raising this question. I’m also curious to know the answer!