Ask where to save each file before downloading.






















View all posts by Sergey Tkachenko. Your email address will not be published. Skip to content Advertisement. Contents hide. Actual Microsoft Edge Versions. Support us Winaero greatly relies on your support. Leave a Reply Cancel reply Your email address will not be published. We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits.

This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information. Non-necessary Non-necessary. Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies.

It is mandatory to procure user consent prior to running these cookies on your website. Go to mobile version. Using Telegram? Subscribe to the blog channel! Close Privacy Overview This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website.

We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies.

But opting out of some of these cookies may have an effect on your browsing experience. Necessary Necessary. Necessary cookies are absolutely essential for the website to function properly. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search.

How can I make a browser display a "save as dialog" so the user can save the content of a string to a file on his system? There is a javascript library for this, see FileSaver. However the saveAs function won't send pure string to the browser, you need to convert it to blob :. There is a demo here , but I believe it is using an origin trial so it may not work in your own website unless you sign up or enable a config flag, and it obviously only works in Chrome.

If you're making an Electron app this might be an option though. If all you want to do is save text then the above script works in all browsers including all versions of IE , using nothing but JS. In the next link: execCommand. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. A conversation about how to enable high-velocity DevOps culture at your Podcast An oral history of Stack Overflow — told by its founding team.

Featured on Meta. New responsive Activity page. Linked 0. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled.



0コメント

  • 1000 / 1000