[Ext] Save File to 2.5.5 - 2016-02-21

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

Eep² wrote:Cached images aren't being saved directly, resulting in a redownload of the image.

Cached images are saved from cache just fine.

  1. Install Live HTTP Headers or similar tool.
  2. Disable cache (preferences browser.cache.disk.enable and browser.cache.memory.enable)
  3. Save an image multiple times -> see how every save sends a request to server.
  4. Enable cache again.
  5. Saves don't re-request images from server. Assuming they are in cache.
There was a discussion about saving image and cache earlier also: viewtopic.php?p=7257235#p7257235
My extensions: Save File to | ThumbsDown
Eep²
Posts: 12
Joined: March 13th, 2009, 1:53 pm

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by Eep² »

I know what I see. If I "Save image as...", using Firefox's built-in save, the cached image is saved directly. If I use Save File To to save the image, the image is redownload and saved. I am also using Thumbnail Expander to preview images before using Save File To to save them, so maybe TE isn't caching the images, although if I mouseover the same image link it pops up immediately since it's already downloaded to, I assume, Firefox's cache (which SFT should retrieve the image from when saving).
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

Eep² wrote:I know what I see. If I "Save image as...", using Firefox's built-in save, the cached image is saved directly. If I use Save File To to save the image, the image is redownload and saved.

Save File to actually uses the very same Firefox's built-in function to save images as "Save Image as...".

So,

  1. If you could provide steps how to reproduce this re-downloading behavior, because I'm not seeing it.
  2. And how are you actually determining that Save File to re-downloads images when it saves them?
My extensions: Save File to | ThumbsDown
vic123
Posts: 2
Joined: November 23rd, 2010, 2:35 pm
Contact:

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by vic123 »

Hello ake79,

can you please consider including into saved page commented out address of original URL, in a way how it is done by Internet explorer - directly after DOCTYPE tag it inserts something like:
<!-- saved from url=(0021)http://www.google.bg/ -->
Don't know what is the meaning of (0021) numbers there, these numbers are different for various pages, but clear info on original url included into saved file was often valuable for me and suppose that it is not complex improvement.
Thank you for great add-on, Victor.
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

At the moment, Save File to uses Firefox's built-in save function to save web pages. It's highly unlikely that I will ever make changes/improvements to that save method.

A more likely solution would be to integrate Save File to with some other web page saving extension that does what you request. That is, Save File to would handle the target directory selection and another extension would handle the actual saving process.

Possible candidates (I have never tested these, so I don't know if they record the url where the page was saved from):
https://addons.mozilla.org/en-US/firefox/addon/4723/
https://addons.mozilla.org/en-US/firefox/addon/212/

But in any case, not very high on my list of priorities. Sorry.
My extensions: Save File to | ThumbsDown
vic123
Posts: 2
Joined: November 23rd, 2010, 2:35 pm
Contact:

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by vic123 »

ake79 wrote:A more likely solution would be to integrate Save File to with some other web page saving extension that does what you request. That is, Save File to would handle the target directory selection and another extension would handle the actual saving process.

I found this thread viewtopic.php?f=8&t=471634 directed me to SaveWithURL extension at https://nic-nac-project.de/~kaosmos/savewithurl-en.html (later link is found at the bottom of https://bugzilla.mozilla.org/show_bug.cgi?id=125729). Saving is performed in chrome\savewithurl.jar\content\savewithurl\SWUOverlay.js and looks to require quite more code than I've expected that may be necessary.
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

Eh, yeah that could work. I can make version of that SavedFromUrl that supports Save File to for starters (check back after weekend). And maybe add that functionality to Save File to itself later.

Thanks for the links vic123.
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

I made version of Saved From URL that works with Save File to. A week later than promised but still.

Saved From URL 1.4.20101206
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.0.2 - 2010-05-29

Post by ake79 »

Release 2.1 - ChangeLog

Support for Firefox 4.0. New translations: zh-CH, zh-TW.
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.1.1 - 2011-03-10

Post by ake79 »

Release 2.1.1 - ChangeLog

A couple ff4 related bug fixes now that first rc is out. New translations: es-ES, sv-SE.
My extensions: Save File to | ThumbsDown
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.1.1 - 2011-03-10

Post by ake79 »

Release 2.1.2 - ChangeLog

More ff4 related bug fixes.
My extensions: Save File to | ThumbsDown
User avatar
mrbunnylamakins
Posts: 79
Joined: March 17th, 2009, 5:46 pm
Location: Fort Wayne, Idiana

Re: [Ext] Save File to 2.1.2 - 2011-04-02

Post by mrbunnylamakins »

Is there a way to have option to "Add Folder" to end of each Sub Menu.
<menuseperator>
Add Folder
Options
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.1.2 - 2011-04-02

Post by ake79 »

mrbunnylamakins, can you create a new issue for that in here: http://code.google.com/p/savefileto/issues/list

So that I don't forget. Feature request tend to have a habit of getting lost in this thread. :roll:
My extensions: Save File to | ThumbsDown
Elbart
Posts: 997
Joined: February 21st, 2010, 8:38 am

Re: [Ext] Save File to 2.1.2 - 2011-04-02

Post by Elbart »

Is there a way to make the "Save File to"-radiobox be selected by default on the download-dialog? (meaning like this http://i.imgur.com/zfg7d.jpg )
And the dropdown-symbol ain't the default one either, right?

I got no Google-account, so I can't open an issue on Google Code, sorry. :oops:
gone
ake79
Posts: 1344
Joined: February 17th, 2007, 6:05 am

Re: [Ext] Save File to 2.1.2 - 2011-04-02

Post by ake79 »

Elbart wrote:Is there a way to make the "Save File to"-radiobox be selected by default on the download-dialog? (meaning like this http://i.imgur.com/zfg7d.jpg )

That would be quite simple to implement, but at the time I coded that, I decided against it.

1. While useful to some, I doubt that most would want it. So it would have to be a preference. I try to avoid adding more than there already is.
2. If two extensions try set themselves as default, it would be random which it would be. Not so great user experience.

Does any extension set itself as the default in that dialog. Or offer the option to do so. iirc, most don't. I haven't checked lately.

I may add an option for it sometime in the future. But it's low priority. And assuming I haven't forgot this ;)

Elbart wrote:And the dropdown-symbol ain't the default one either, right?

Actually it is. It seems that ff windows theme is a bit inconsistent with the arrow sizes there. Looks fine in ubuntu.
My extensions: Save File to | ThumbsDown
Post Reply