257 points · by Tomte · 5y ago · 131 comments
We hacked the first version when we still didn't know much about JS, but it immediately exploded (500k daily users). Donations were super helpful at that time, being 22 years old with a newborn.
After a couple of years (iirc) Nils Maier joined the team and helped us a lot. Years later he managed to transition the codebase to the new web extension tooling that was introduced by Firefox a few years ago.
This little extension really shaped my professional career. The realization that something I made could have such an impact is what gave me the drive to keep creating small indie products, which I'm still doing nowadays with http://www.datocms.com
Thanks for making my day! :)
Yeah, it was 2006 when I joined you and Federico, if I remember correctly, while you and Federico started DownThemAll! in 2004. #201 is correct :D
2006 was really a long time ago...
DownThemAll! went through a lot of revisions since that time, including the work it took to make it restartless, then make it compatible with "electrolysis" and so on. And in the meantime ensure it didn't break with every Firefox release. But at the core the functionality kept the same. People contacting me with questions could be quite overwhelming - and I am sorry if some of you HN'ers mailed me and I didn't answer - but it was very enjoyable to see what different kinds of people were using our creation and get in touch with all kinds of folks that way, from students downloading lecture videos to movie editors downloading the "dailies", and everything in between.
I am still not happy mozilla decided they had to break all extensions, and I had to do a full rewrite as a WebExtension, and thus abandon a lot of features that simply are not possible anymore with that new API, while at the same time reinvent the wheel for the UI (now being forced to use vanilla HTML, which can be quite hard to get performant enough when people queue a couple of tens of thousands downloads at once). But the very core of functionality, namely selecting and queuing up a lot of links quickly, is still there, so I hope some people still find this new DownThemAll! WebExtension useful.
Lastly, while the last release was indeed 2 years ago, I keep meaning to fix some bugs and make a new release. I was already planning to set aside a lot of time this month for that, even before seeing DTA pop up on HN again. I guess this HN post can only motivate me more :D
Federico's death was incredibly sad. We only met once in person, but he was such a nice and humble guy, not just in real life but online too. I miss him too, may he rest in peace.
Trashing an entire swathe of extensions - hundreds of thousands of man-hours of work - and then making breaking changes in nearly every subsequent version after that... it's precisely why I've never even considered making a browser extension. It would be pure hell.
Actually, the weird thing - for those who see FF or TB from the inside - is that the same kind of code we have in regular extensions is still what's used in FF and TB's own chrome (which is in many ways like a bunch of "core extension"). They haven't changed things in a way which makes using extensions impossible, they simply removed the loading mechanisms for them.
Interestingly, for Thunderbird, there's a loophole which most popular extensions use, that allows them to keep loading and running the same kind of extension code they always have:
https://github.com/thundernest/addon-developer-support/tree/...
https://github.com/thundernest/addon-developer-support/issue...
One of the core technologies of the old extension model, XBL, has been completely ripped out. XBL-defined elements and XBL overlays were how a lot of the old UI customisations functioned, so even if you enable loading the older code it just flat won't work. Obviously custom JavaScript, as in the example you linked, can still do whatever when loaded without restrictions, but then you're at the mercy of changing internals, instead of the supported stable WebExtensions API.
Additionally a lot of XUL in the chrome UI has been removed, replaced with HTML equivalents or custom elements (a descendant of XBL), and the root documents that make up the browser chrome have transitioned from being .xul XUL documents with some HTML elements in to .xhtml HTML documents with some XUL elements in.
Incidentally, I wrote several premium link makers back in the day (including one particular implementation which I tried to sell and pirates leaked - oh well, that's what you get when trying to sell to pirates) and I don't remember rapidshare allowing you to download things directly, unless you were premium.
No, thank YOU for building and maintaining DTA for all of us, even after the webext framework overhaul! Been a happy user since the old days.
I eventually decided not to let it die... DownThemAll! had been a big part of my life, and while I recognized that I had to dumb down the feature set, I saw a way to at least make the core stuff work, maybe. I am glad I tried it even though it required a considerable amount of time to fully rewrite this thing.
The net result of mozilla's move was that they killed a large number of useful extensions entirely, while the survivors then usually became available for Chrome as well thanks to the mostly shared API - DownThemAll! is available for Chrome as well right now - giving users even less incentive to stay with Firefox. Oh well.
These days, connections have become so fast that I don't really use a download manager anymore. The last place I download large files from through the browser is Mega, and its encryption is inherently incompatible with this addon.
If you need a download manager for MEGA, check into JDownloader2. They are compatible with MEGA en/decryption. And developers is very active.
Perfect example: https://www.ubu.com/sound/antin.html
I already have software which downloads anything I want fast, the issue is, I can't simply connect it to Firefox anymore. Same goes to using external players to view media (I need more nuanced control over rate and pitch of the playback).
I understand it's done in the name of security, but I refuse to accept there's no practical way to allow user to launch software on his own machine from the browser without some auxiliary intermediate program which some older extensions suggested as a way to continue working.
Sorry for the rant.
But it is possible. I have made my own little addon that calls yt-dlp (previously youtube-dl) with the current URL to save videos from YouTube and other supported places (e.g. Reddit) with a single click. The addon communicates with a Python program to send it the current page's URL which in turn just changes to a predefined directory (where downloaded videos are stored) and calls yt-dlp with that URL.
I was a bit hesitant at first to bother with all that but eventually i decided that it is "my browser" so i should be able to do whatever i want with it and certainly adding a button to call a program with the current URL should be more than possible.
The downside is that Developer Edition updates way more often than regular Firefox which in theory might break stuff but personally i never had an issue with it.
I do not like the whole signing thing - just like i do not need to sign any -say- Emacs scripts i write, i shouldn't need to sign any browser scripts. Also last time i checked i need to register with Mozilla for this to work and i especially do not want to have some 3rd party's permission so that i can install my own scripts on my own browser. I might have misunderstood that last part but i didn't see much of a reason to bother when i could jus ignore the entire thing with the Developer Edition.
Finally this seems to need npm, node.js, etc to work and i do not want to bother with these things. All i did to make my addon was to use a text editor, make 2-3 files and done. Well, and use regedit but whatever...
The second one needs the "native client" which I mentioned above. It uses effing python to pass the link from the browser to the player! It's a workaround and an ugly complication. The more I use technology the more I come to despise those levels of software strata solving the problem the lower layers introduced for disputable reasons.
Yeah, it's unfortunate that it needs the Python (or Ruby) script as a shim to MPV. But it's not an inherent requirement: the extension could execute MPV directly if MPV understood the weird length-prefixed JSON protocol that Firefox and Chrome use.
The aria2 one didn't have an update since 2019 though.
I imagine a browser extensions that adds deep-links for certain media to be opened in external software is possible. Just needs coordination with the app...
Imagine a page with 50 links, that you each have to download by hand? Nope! Just DTA and a filter to choose what you want.
Photo gallery? Same!
Open a bunch of stuff in different tabs, and want to download the same thing (eg. .zip file) from each open tab... DTA all tabs, and *.zip filter.
Regex filter? Sure!
The basic download manager part is just an extra feature, that you usually don't need.
Should I only use the one provided by my Web browser? Should I not download the content that I want to access locally or share between devices without being obliged to stream/download it again from a server?
If I find a gallery of images that I like to keep. I can use gallery-dl for that and use gallery-dl "instagram.com/boburnham" in the command line and it will crawl and download the images within the gallery.
Modern browsers still suck at dealing with downloads if you have a flaky connection that gets interrupted, but we mostly don't care because you can slurp gigabytes in seconds on fiber connections, so it takes a really, really jacked up VPN connection or intrusive proxy to make an impact.
The game changer(s) were when browsers implemented resumable downloads, and most giant file distribution moved to torrents.
2 years ago (Nov 26, 2019)"
> We are therefore limited to the tools the WebExtensions model provides to us, which sadly makes it impossible to provide some of the advanced features of DownThemAll! Version 3.
I didn't even know they attempted a WebExtension rewrite and am not surprised that it wasn't able to do the things that made the old DTA worth using.
It's quite useful where you have 50 PDFs on a school page and you'd like to download them all without manually clicking save link as on each one of them. I have fond memories of DTA from my bachelor studies.
To prevent all downloading, not just automatic. When they remove a video, they don't want you to have an archived copy to prove the content ever existed, or to watch it without their permission.