Download .txt using JavaScript without dialog prompt

后端 未结 2 1592
失恋的感觉
失恋的感觉 2020-12-22 12:36

Is it possible to create and download a .txt file using only JavaScript (no server-side programming !), and save it on local drive, without displaying browser \"Save file\"

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-22 13:30

    No not without browser plugins, that would be a big security risk.

提交回复
热议问题