Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marcusmonteiro/d8d461aa6fc15a9f542a6d1f8d2f9b12 to your computer and use it in GitHub Desktop.
Save marcusmonteiro/d8d461aa6fc15a9f542a6d1f8d2f9b12 to your computer and use it in GitHub Desktop.
Download files on Safari instead of opening them #safari #download
// from https://apple.stackexchange.com/questions/57039/how-make-safari-download-pdf-files-instead-of-opening-them-in-page
You can make Safari on the Mac download ANY files (mp3, mp4, jpg, pdf and more) by doing the following.
Open the file (movie,music,etc) in Safari. That normally comprises of clicking the link to the pdf/movie/music etc.
Click on the url of the browser (in this case it would end in ".../xyz.pdf".
Hold option down and press Return(or Enter).
The file you are viewing downloads to the Downloads folder on the mac.
I've tested this with almost all file types possible. Very very useful little feature that unfortunately too few people know about.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment