If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Save URL/location of saved document in file saved-urls.txt in same directory




File Handling
12 years ago
8 years ago


(Reporter: Hannes Mayer, Unassigned)



Firefox Tracking Flags

(Not tracked)



(1 attachment)



12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

When saving a document (html-page, pdf...) via "Save Page As" or "Save Link As"
the browser should (optionally - can be enabled in prefs) save the URL/location
in a file in the same directory as the saved document.

i.e. when http://www.mozilla.org is saved to /home/user/mozilla/, the browser
creates the file "saved-urls.txt" with the content:
15-AUG-2005 00:50:23: http://www.mozilla.org saved as index.html

If another document is saved into the directory /home/user/mozilla/, another
entry is appended:
15-AUG-2005 00:50:23: http://www.mozilla.org saved as index.html
15-AUG-2005 00:58:33: http://www.mozilla.org/some.pdf saved as mozilla.pdf

If an URL is saved via "Save Link As", the "parent URL" is saved aswell:
15-AUG-2005 00:58:33: http://www.mozilla.org/some.pdf saved via
http://www.mozilla.org/ saved as mozilla.pdf

This would be extremely handy i.e. for the following scenarios:
* posting the URL of a locally saved document on a maillist/forum
* lookup further information on the site of the saved document later
* lookup vanished sites at archive.org
* documentation when the document has been saved
* ability to lookup the original filename

Reproducible: Always

Comment 1

12 years ago
I do not understand all that is written but I am looking for precisely the
feature that will save, alongwith the saved page, the URL so that one can visit
the site again at a later date for reference.

The OS used is Windows.


Comment 2

10 years ago
Firefox extension "SaveURI" by Sri Charan maybe of interest if you are looking at this enhancement - it saves the URI appended to bottom of page. I would still think the idea of a separate text file in the selected saved folder is a better idea. 

You got my vote :-)
Created attachment 422248 [details] [diff] [review]
A possible patch

please take a look at this
Attachment #422248 - Flags: review?(benjamin)
The previous patch doesn't do the part of finding the parent page, but it saves the file with the required format

If somebody knows how to find the parent page, please reply to this

Comment 5

8 years ago
Comment on attachment 422248 [details] [diff] [review]
A possible patch

I don't think this feature is worth the code necessary to add it, but I'll punt to somebody else.
Attachment #422248 - Flags: review?(benjamin) → review?(sdwilsh)
I kinda agree with comment 5, but lets see what the UX team has to say.
Keywords: uiwanted
Comment on attachment 422248 [details] [diff] [review]
A possible patch

Also clearing the request until someone from UX chimes in.
Attachment #422248 - Flags: review?(sdwilsh)
You need to log in before you can comment on or make changes to this bug.