CSV Behavior in Safari

CSV Behavior in Safari

cbtdevcbtdev Posts: 39Questions: 12Answers: 0

Using this page as an example...

In Chrome, the CSV option will download the file just fine. However, in Safari the CSV opens in a new tab. It seems that in order to save the file you have to do the following:

  1. From the menu, go to File > Save As...
  2. Change the export name to have .csv extension
  3. Select "Page Source" as the Format
  4. Click Save

Is it possible to have the file download automatically or is this a limitation with Safari?

Thanks!

-Kurt

Answers

  • allanallan Posts: 63,576Questions: 1Answers: 10,483 Site admin

    Its a limitation in Safari I'm afraid. Shipping Safari doesn't support local file creation and download as it doesn't support the download attribute for a tags.

    However, the good news is that this has recently seen activity in the Webkit bug tracker and I believe it should be resolved in the Webkit nighties, which means it will be available in shipping Safari soon. I'm going to try the nightlies out today in fact and make any adjustments I need to to allow Safari to work (hopefully!).

    Allan

  • cbtdevcbtdev Posts: 39Questions: 12Answers: 0

    Ok, good to know. Thank you for the information!

    Regards,
    Kurt

This discussion has been closed.