I want to write a piece of code that triggers an event when a file is getting downloaded. Lets say its a chrome extension.
Like a Download Manager intercepts the browser download process, captures the file URL and downloads it. I want to capture the URL of the files getting downloaded and avoid the browser download process.
Thanks for taking a look !