lfk / downloads-router-chrome-extension

Downloads Router is an extension for Chromium and Google Chrome that allows the user to establish routing rules, directing downloads to folders based on filetype, filename, or source domain.
27 stars 10 forks source link

doesnt work with chrome-extension #2

Open fap2this1 opened 8 years ago

fap2this1 commented 8 years ago

Hi I'm trying to make a chrome-extension route in your wonderfull downloads router configuration, but it doesn't seem to work.

This is what I tried: image

markat1 commented 7 years ago

Anyone? Any suggestions?

lfk commented 7 years ago

Hi there!

Sorry, I haven't been able to dedicate any time to this as of late. I've never tried routing a download that's been triggered by an extension before -- I'd wager the actual source domain might look somewhat different to what you're trying to enter.

There's a way to figure this out, in case you're willing to try it out: Edit the manager.js file and add console.log(downloadItem) on line 104. After reloading, trigger a download and check the console output -- the actual source address should be visible in the printed object.

fap2this1 commented 7 years ago

thanks for reply! - I will try that!

rstribrn commented 3 years ago

I've added optional console output support (in my fork). You can check it out.