Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138221

Detect user download

$
0
0

Soppose I develop a client web app (I don't have access to server code), Is it possible to detect when user downloads a file? I need something like:

//fires when user download file
function downloadFileCreated(obj){
    alert(obj.url); // prints the download link
}

here they assume that I have access to server code (but I don't have)


Viewing all articles
Browse latest Browse all 138221

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>