Click here to Skip to main content
15,798,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I just want to ask that how can I get the download links of the downloads list in chrome(trying to make chrome extension).
Consider a scenario : A user clicks on the download button(to download a song or something), the browswers(chrome) open save dialogue and after specifying it starts downloading the file. The thing I am trying to do is, when the user clicks on download button, my own downloader(which I made in C#) should execute...
The only thing I want to ask is how would I get the downloading link in javascript when the download button is clicked assuming that my extension is running in background(in chrome extension)...any help? any link?
Want some starting idea! :)
Can't you create one Download link in JavaScript dynamically and append that to any existing control?
saad_lah 25-Dec-13 6:09am    
yea...but how can I check which button is clicked in javascript? and is that a download link or not and how to stop browser download.
You can provide that dynamically created Link one ID so that when it gets clicked, you can handle its click event and do whatever is needed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900