Show HN: A Chrome extension that prevents duplicate downloads
11–17 of 17 posts
Re: Show HN: A Chrome extension that prevents duplicate downloads
#12Earlier quoted context omitted.
I apologize for the lack of support. Chrome's download API ( https://developer.chrome.com/dev/extensions/downloads.html ) is very flaky and has just been added full support in Chrome 27.0.1448.0 dev-m according to http://stackoverflow.com/questions/15451313/closed-uncaught-...
Ah, that explains a lot. This looks useful because I often have an itchy trigger finger and download more than one copy. But you know what I really miss in Chrome would be a decent download manager that lets me select multiple files from one page instead of DLing them one at a time. Last time I looked the only extension for this practically announced itself as malware.
It looks like this: http://i.imgur.com/XF6S0mu.png
Re: Show HN: A Chrome extension that prevents duplicate downloads
#13It's a good idea, but downloading something from the same URL (or filename fragment from an URL) does not necessarily imply that it's a duplicate. Would be interesting to see something similar to this extension that uses attributes sent at the start of an HTTP response - e.g. entity tag or content length - for duplicate checking.
I was thinking of also checking for the same file size. Would that improve the accuracy of detecting duplicates?
Some resources:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
http://en.wikipedia.org/wiki/Chunked_transfer_encoding
http://en.wikipedia.org/wiki/HTTP_ETag
I'm glad you're addressing this problem! I always end up with file(1).zip in my downloads folder.
Re: Show HN: A Chrome extension that prevents duplicate downloads
#14Earlier quoted context omitted.
Ah, that explains a lot. This looks useful because I often have an itchy trigger finger and download more than one copy. But you know what I really miss in Chrome would be a decent download manager that lets me select multiple files from one page instead of DLing them one at a time. Last time I looked the only extension for this practically announced itself as malware.
Funnily enough, this extension exists as a sample extension in the Chrome extension docs. Apparently, you can't link to specific samples, so just go to https://developer.chrome.com/dev/extensions/samples.html and filter by "downloads." The extension you're looking for is "Download Selected Links." It looks like this: http://i.imgur.com/XF6S0mu.png
Re: Show HN: A Chrome extension that prevents duplicate downloads
#15Re: Show HN: A Chrome extension that prevents duplicate downloads
#16Re: Show HN: A Chrome extension that prevents duplicate downloads
#17What happens if I've deleted the file from my downloads folder? Is that considered to be "downloaded before"?