So, I got curious after work one day and decided to figure out how to write a simple MobileSafari plugin. This took me 3 days.
This one lets you download most zip and tar files. I tried to make it download png, gif, and jpgs, but because Safari handles it already, I don't think I can ever make that work.
This was developed targeting 1.0.2. I haven't tried it on 1.1.1 or 1.1.2.
(Updated) XianLi says in this thread that it works fine for him on 1.1.2.
No warranty or liability of any kind, of course. Don't blame me if it somehow messes up your data, though it isn't supposed to affect anything outside the Downloads folder it created.
How to use:
Copy the plugin bundle into "/System/Library/Internet Plug-Ins", and then reboot the phone.
It will create a folder called Downloads next to Library and Media in your root home folder. It will only download there.
When you click on a link that is downloadable, a large button will appear. Click on it to download. Click the normal page back button to not download, or to go back when it's complete.
Update: Version 0.2 posted.
New to 0.2: Progress bar. Basic instructional text. Allow user to choose name to save as.
Features tried and failed: Percentage and KB/sec as text. I have the value as a variable, NSString simply fails to display it correctly on 1.0.2.
Anything else I want to say cuz you're still reading:
Yes, it looks kinda ugly.
Please don't post any requests for other plugins in this thread. That's a good sign for me to ignore you.
Like any other projects I do publicly, whether or not I continue to improve it is based off how much time I have outside of work, whether or not I feel like working on it, and the quality of feedback I get. (seeing stupid posts with awful use of punctuation and no real content or irrelevant content makes me lose interest fast, seeing high quality posts like "By the way, if I do this, this, and this, it crashes. I think you might have forgot to check if such and such value happens to be blank" makes me feel appreciated because you're showing to me you actually care and are trying to be constructively helpful.)