检测用户下载
Detect user download
假设我开发了一个客户端网络应用程序(我无权访问服务器代码),是否可以检测用户何时下载文件?我需要这样的东西:
//fires when user download file
function downloadFileCreated(obj){
alert(obj.url); // prints the download link
}
here 他们假设我可以访问服务器代码(但我没有)
(我正在开发 InternetExplorer 插件,我想注入监听用户下载的脚本)
如何使用下面提到的 Google 分析 post?
Best way to count number of downloads of several files on website
假设我开发了一个客户端网络应用程序(我无权访问服务器代码),是否可以检测用户何时下载文件?我需要这样的东西:
//fires when user download file
function downloadFileCreated(obj){
alert(obj.url); // prints the download link
}
here 他们假设我可以访问服务器代码(但我没有)
(我正在开发 InternetExplorer 插件,我想注入监听用户下载的脚本)
如何使用下面提到的 Google 分析 post?
Best way to count number of downloads of several files on website