4

I'm currently developing a Google Chrome extension and I need to be able to initiate a file download from the popup. The idea is that the user clicks a link and the download starts. I can do this by creating a new tab and setting the url to the download link, but I would like to avoid opening a new tab, or at least opening it and closing it as soon as the download begins.

Is it possible to do what I want? How? Is it possible to do it programmatically, from the event page?

Thanks for any help.

Reydel Leon
  • 1,035
  • 2
  • 11
  • 34

1 Answers1

1

This question has some valuable information about using an iFrame to make the browser download a file.

Community
  • 1
  • 1
Unsolved Cypher
  • 899
  • 9
  • 23