Is it possible to detect a download before the actual download has started in Chrome?

爷,独闯天下 提交于 2019-12-11 23:53:48

问题


I develope a Chrome extension. I want to detect a download before the actual download has started. There is a chrome.downloads API but all events are fired too late. There is also a webRequest API with a lot events. Sadly the data provided by those events didn't help me to detect a download (request). Is there any possibility to detect a download BEFORE chrome already downloads a file?

来源:https://stackoverflow.com/questions/34152836/is-it-possible-to-detect-a-download-before-the-actual-download-has-started-in-ch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!