Search results
30 sty 2011 · I am creating an extension that will download a mp3 file off a website. I am trying to do this by creating a new tab with the link to the mp3 file, but chrome keeps opening it inside the player instead of downloading it. Is there any way I can create a pop-up to ask the user to "save-as" the file?
15 paź 2024 · Use the chrome.downloads API to programmatically initiate, monitor, manipulate, and search for downloads. You must declare the "downloads" permission in the extension manifest to use this API. You can find simple examples of using the chrome.downloads API in the examples/api/downloads directory.
14 sie 2024 · In this article, I will demonstrate how to download files from the internet, both by enforcing the download from the website, as well as with a manual click. After that, we will review content generation in various forms, how to download the generated contents, and how the download attribute works.
1 sie 2024 · You can use this API module to download files, cancel, pause, resume downloads, and show downloaded files in the file manager. To use this API you need to have the “ downloads ” API permission specified in your manifest.json file.
12 maj 2019 · Learn how to generate a file using javascript in the browser and download it directly without use any server (local solution).
24 lut 2024 · usually .download or .part are incomplete files. There is no difference, idk why, but while downloading page chrome (and maybe other too) browser add `.download` in you case and in my case (on win10) `.unnamed` to js files.
10 lip 2014 · If you want to save a complete web page, then you can first open the web page, then export it as MHTML using chrome.pageCapture.saveAsMHTML, create a blob:-URL for the exported Blob using URL.createObjectURL and finally save this URL using the chrome.downloads.download API.