Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
Chrome Extensions - Donwload File in Specific Path

I am developing a chrome extensions and I need to download file in specific path, i'm using chrome.download in background.js

chrome.downloads.download({
    url: request.url,
    filename: "teste.txt", // Optional
    saveAs: false,
 });

But, in this way, I have to choice the path in modal of download, but i need to define a specific path for download all files of this extensions!

How can I do it ?

Manifest:

"version": "1",
"manifest_version": 3,
"background": {
    "service_worker": "background.js"
},
"content_scripts": [{
    "matches": ["<all_urls>"],
    "js": ["jquery.js", "content.js"]
}],
"permissions": ["tabs", "browsingData", "activeTab", "downloads", "fileSystem"]
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!