How to connect download in Chrome extension?

I need to write a Chrome extension that will be notified every time the download starts or starts. The extension should also be able to prevent the download from continuing.

I tried searching everywhere to do this ... but I didn't get anything.

How should I do it? Is there any function that I can call to register a callback?

+3
source share
1 answer

You cannot do this, there is currently no API that connects to the download manager. There was talk of adding an API, but so far no plans have been announced.

, NPAPI. , , API : http://code.google.com/p/chromium/issues/detail?id=12133

+2

Source: https://habr.com/ru/post/1761781/


All Articles