Chrome download file ask me where to save






















I made an extension that does something like this, if anyone here is still interested. Looks like reading and writing files from browsers has become possible.

This blog post shows code examples of reading from and writing to the local file system with JavaScript. Since Javascript hitch-hikes to your computer with webpages from just about anywhere , it would be dangerous to give it the ability to write to your disk. It's not allowed. Are you thinking that the Chrome extension will require user interaction? Otherwise it might fall into the same category. 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. Chrome extension: How to save a file on disk Ask Question. Asked 11 years, 10 months ago. Active 3 days ago. Viewed 98k times. Have you got an idea? X-Blaster X-Blaster 1, 3 3 gold badges 15 15 silver badges 31 31 bronze badges. Add a comment.

Active Oldest Votes. URL window. BlobBuilder ; bb. Mohamed Mansour Mohamed Mansour I will take a look at it. Thank you for your help — X-Blaster. Note that if you plan to upload the extension to Google's gallery, using NPAPI will delay your publishing for a long review by them and it may even not end up accepted.

I agree with Max. It will delay publishing since it will be manually reviewed. It would be best if you have an external server that you can give access within your extension and upload the data via POST and fetch it back via GET with proper headers. Does it allow me to save a short marked word to the file on local hard disk? Community Bot 1 1 1 silver badge. Allan Ruin Allan Ruin 4, 6 6 gold badges 33 33 silver badges 41 41 bronze badges. Don't know about but as of today it's possible to listen to the onChanged event which bears the state object that can tell the status of the download e.

Allan, Re " we can save file without prompting user to confirm "; But wouldn't the "download bar" at the bottom be opened when you start writing files to the user's machine? Is there any way to do this silently?

For example, if you are writing 50 files to the user's machine in the background — Pacerier. Pacerier it's call download shelf, when I wrote the answer, I remember I have to manually disable the shelf from showing in the advance options page.

I do some search, I found this: you maybe interesting. The shelf will be disabled as long as at least one extension has disabled it. Enabling the shelf while at least one other extension has disabled it will return an error through runtime. Arnaud Leymet Arnaud Leymet 5, 4 4 gold badges 29 29 silver badges 47 47 bronze badges. Google Webstore Github I made an extension that does something like this, if anyone here is still interested.

Browse All News Articles. TikTok Samsung TV. Spotify Shuffle Play Button. Windows 11 Performance. Edge Shopping Features. Spotify Lyrics. Windows 11 Mute Keyboard Shortcut. Edge Buy Now Pay Later. Windows 10 November Update. Apple Self Service Repair. Find Downloaded Files on an iPhone.

Use Your iPhone as a Webcam. Hide Private Photos on iPhone. Take Screenshot by Tapping Back of iPhone. Should You Upgrade to Windows 11? Browse All Windows Articles. OneDrive Windows 7 and 8. Copy and Paste Between Android and Windows. Protect Windows 10 From Internet Explorer. Mozilla Fights Double Standard.

Connect to a Hidden Wi-Fi Network. Change the Size of the Touch Keyboard. Check Bluetooth Device Battery Life. Reader Favorites Take Screenshot on Windows.

Mount an ISO image in Windows. Boot Into Safe Mode. Where to Download Windows Legally. Find Your Lost Product Keys. Clean Install Windows 10 the Easy Way.

The Best Tech Newsletter Anywhere Join , subscribers and get a daily digest of news, geek trivia, and our feature articles. How-To Geek is where you turn when you want experts to explain technology. Since we launched in , our articles have been read more than 1 billion times. Want to know more?



0コメント

  • 1000 / 1000