4 ms·
why not display the pdf in the browser? that keeps the url in the address bar
by em-bee 6y ago
why not display the pdf in the browser? that keeps the url in the address bar
- scoutt 6y agoSome sites make you download the PDF instead of showing it in the browser. The new tab opens and closes immediately after fetching the URL, so you don't get to see the URL in the bar. If the browser is set to open files with known editors, it will be downloaded and opened (and I can't recall if the PDF is still in the download list in the browser). Edit: I work with datasheets. The following link forces me to download the PDF: https://www.st.com/resource/en/datasheet/stm32f103rc.pdf https://www.st.com/resource/en/datasheet/stm32f103rc.pdf This does not: https://www.mouser.it/datasheet/2/389/stm32f103rg-1851026.pdf https://www.mouser.it/datasheet/2/389/stm32f103rg-1851026.pd... Don't ask me why....
- jhomedall 6y agoThis is typically due to the `Content-Disposition` HTTP header (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...).