Automatically update bookmarks when sites move/disappear.



Bookmarks & History
18 years ago
9 months ago


(Reporter: CodeMachine, Unassigned)



Dependency tree / graph

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [ben-m5][2012 Fall Equinox], URL)



18 years ago
I found this in an old newsgroup message "proposed bookmark management
features" in n.p.m.ui on 26 Oct 98, and I fully agree, so I'm posting an RFE.
This is what the poster had to say:


I propose a new feature for all webbrowsers.  Actually two:

1) When going to a bookmark, if the site is not up, ask the user if they
want to:
        a) remove this bookmark
        b) mark it as being down last X attempts
        c) do not remove this bookmark
        d) do not remove this bookmark; don't ask this question again for
this url
        d) do not remove this bookmark; don't ask this question again ever

2) When going to a bookmark to a page that uses the META tag to do an HTTP
redirect, ask the user if they want to:
        a) update the last bookmark they went to to this new address
           (useful since most webpages move at one time or another)
        b) do not update; don't ask this question again for this url
        c) do not update; don't ask this question again ever

These 2 features would make it so that one would have to "organize
bookmarks" much less often.  The main organization function of organizing
your bookmarks is to create an intuitive heirarchy of bookmarks; we should
not have to go into that menu just to remove dead links and update pages
that have moved.


I've wanted the second myself for a while - I believe HTTP distinguishes between
temporary and permanent redirects, so only the latter should be handled this

Also, it would be useful to write in a new address as an option for the first


18 years ago
Assignee: leger → don
Component: Apprunner → XPApps
QA Contact: leger → beppe


18 years ago
Summary: Automatically update bookmarks when sites move/disappear. → [RFE] Automatically update bookmarks when sites move/disappear.
Target Milestone: M14

Comment 1

18 years ago
Best would be a pref to choose and option or prompt the user.


18 years ago
QA Contact: beppe → claudius

Comment 2

18 years ago
Move to M20.


18 years ago
Component: XPApps → Bookmarks

Comment 3

17 years ago
The second sounds VERY cool. Prompting when we recieve a 'Permanently Moved'
return is so useful and obvious I can't believe it wasen't done by browsers long
ago. If i had and free browser votes, I'd add one. =) This would even encourage
people to use this HTTP feature more, instead of making the 'This page has
moved, please update your bookmarks' page.

The first suggestion, however, might get VERY annoying. A site being 'down' is
too common an occurance to throw dialogs at the user, especially when theres a >
50% probability they will want to take no action on it.

Comment 4

17 years ago
You could put some sort of threshhold on it appearing, either time or
number-of-visits based.  You'd still want some way to easily access these
options though - perhaps a "Remove Current Page From Bookmarks" option is in


17 years ago
Target Milestone: M20 → Future

Comment 5

17 years ago
Move to "Future" milestone.

Comment 6

17 years ago
I'm out of votes, but I also wanted to say this is a great idea.
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
Assignee: don → vishy
Netscape Nav triage team: this is not a Netscape beta stopper.
Keywords: nsbeta1-
bookmarks, => me. 
Assignee: vishy → ben


17 years ago
Depends on: 22714


16 years ago
Keywords: helpwanted
Accepting, leaving priority as-is but adding status whiteboard glitter. 
Whiteboard: [ben-m5]
Paul Chen is now taking Bookmarks bugs. For your convenience, you can filter 
email notifications caused by this by searching for 'ilikegoats'.

Assignee: ben → pchen

Comment 12

16 years ago
*** Bug 22714 has been marked as a duplicate of this bug. ***


16 years ago
Depends on: 103610

Comment 13

16 years ago
HTTP 1.1 has the following to say about '301 Permanently Moved':

   Clients with link editing capabilities ought to automatically
   re-link references to the Request-URI to one or more of the new
   references returned by the server, where possible.

We should also support '410 Gone', and offer to remove the bookmark. In the dialogue, we must make clear that this is different from a page just not found (i.e. a 404 error) -- the page is removed, and will *not* reappear, not here, not anywhere.

Also note that we need to handle multiple redirects. For a simple test
case of 301 redirection, you could try:

which redirects to:

which redirects to:

which redirects to:

A bookmark pointing to:

should therefore be changed to:

Comment 14

16 years ago
mass reassign of pchen bookmark bugs to ben
Assignee: pchen → ben

Comment 15

16 years ago
adding self to cc list

Comment 16

15 years ago
*** Bug 157999 has been marked as a duplicate of this bug. ***


15 years ago
Blocks: 171467


15 years ago
Summary: [RFE] Automatically update bookmarks when sites move/disappear. → Automatically update bookmarks when sites move/disappear.

Comment 17

15 years ago
A problem with previous validate-bookmarks features is that the code assumed a
far faster internet connection than most dialup users have. The slow responses
of the queries to bookmark entries caused most of them to be reported as no
longer valid. This timing problem could also occur in a bookmark updating
feature running on a slow dialup connection.

When a 404, 410 or 'unable to find host' situation is encountered on a bookmark
click, we could also give the user the option of checking for the page within
the Internet Archive (  I know there have been several occasions
when an bookmark has gone missing that I've checked to get an
archived version.  Perhaps we could offer to link to Google's archive as well
(though it isn't quite as long-term).

Comment 19

15 years ago
The idea proposed in comment #18 should be a separate bug.

Comment 20

15 years ago
*** Bug 23212 has been marked as a duplicate of this bug. ***


14 years ago
Blocks: 65092

Comment 21

14 years ago
*** Bug 213128 has been marked as a duplicate of this bug. ***

Comment 22

14 years ago
This feature request is almost 4 years old now.. does anyone know what's holding
it up ?

Is it simply that nobody has offered to write the code ?
>Is it simply that nobody has offered to write the code ?


Comment 24

14 years ago
See also bug 213467, same bug for firebird.
*** Bug 227536 has been marked as a duplicate of this bug. ***

Comment 26

14 years ago
The solution would be very simple---make the timeout value selectable by the
user so it can be set according to how fast the user's connection is.


13 years ago
No longer blocks: 65092
Product: Browser → Seamonkey


13 years ago
No longer depends on: 22714

Comment 27

13 years ago
Often the delay in accessing URLs for validation is caused by slow DNS servers,
not by the connection speed. DNS servers seem to have highly variable response
times depending on their load at the moment. I'm sure noticing slow DNS service

Comment 28

13 years ago
Setting this to work on a timeout is a bad idea, and would result in sites being
removed from users' bookmarks if their server goes down for a few hours. It
should be based solely on HTTP error messages that are returned from the server,
like "301 Moved Permanently".
What about when the server is down forever? There could be a message like:
"The site x.y was down for 2 weeks. Do you wan't Firefox to remove it from your
bookmarks? [Yes] [No] [Stop bugging me]"

Comment 30

13 years ago
I think that Ross Shannon is right. Only HTTP 301 codes, should be handled this way.

Comment 31

13 years ago
The HTTP spec defines very specific behavior for each code. Status codes of note include 301, 
400, and 410.

Comment 32

11 years ago
I would just like to revive the discussion on this topic. 
I actually thought that I had already seen this feature in one of the older Mozilla (or even Netscape) versions: it was not automatically but there was a tool in the bookmarks window that said something like "verify bookmarks" and then the browser would try one bookmark after the other and mark the ones which did not exist anymore. I would find this a very very useful feature. I have a rather huge bookmark file and it's a large amount of work to test all of these and to either update links or throw them out. In my opinion this is really an automation task for which computers were designed.
I'm not a programmer myself, at least not for these kinds of tasks, but perhaps somebody in the  SeaMonkey team might take it up ....

Comment 33

11 years ago
This bug is not about scanning your bookmarks folder and updating en masse. It's about updating bookmarks as you follow them.

Comment 34

11 years ago
So, should I open a new bug for "updating en masse" ??


Comment 35

11 years ago
I believe that's bug 171467.
Assignee: bugs → nobody
Priority: P3 → --
QA Contact: claudius → bookmarks
Target Milestone: Future → ---


9 years ago
Duplicate of this bug: 171467

Comment 37

9 years ago
(In reply to comment #36)
> *** Bug 171467 has been marked as a duplicate of this bug. ***

I do not agree with this. Bug 171467 is a bug for "updating en masse".
Bug  8648  is a bug for "updating bookmark(s) on the fly".


9 years ago
Duplicate of this bug: 426206


7 years ago
Duplicate of this bug: 103610

Comment 40

5 years ago
At least second part of this bug looks still valid rfe
Whiteboard: [ben-m5] → [ben-m5][2012 Fall Equinox]

Comment 41

3 years ago
What is keeping  the Mozilla developers not to try to enhance User Experience by adding this feature to the browser ?

Comment 42

3 years ago
Forgot to add. This request for the valuable enhancement is already 15 years young

Comment 43

9 months ago
I have created an add-on to solve this bug.

There have been concerns raised about the security of this however. For example, a man-in-the-middle can silently rewrite any bookmarks that the victim may have, causing future browsing to go directly to the attacker-chosen URL, rather than the intended URL.

Comment 44

9 months ago
Could you explain a bit in more detail what this add-on does precisely ? Thanks in advance

Concenring security, that's why I think, just checking for Error404 and flagging failing bookmarks and giving the user the possibility to simply remove all failing bookmarks (or put them into a folder to check manually) as suggested in bug 171467 would be much saver.

Comment 45

9 months ago
The extension watches for redirects that the browser follows. If they have status code 301 (ie, permanent), it'll search all bookmarks for the old URL, and update them with the new URL.
There's no current handling for 404s or any other status codes. Also, HSTS upgrades aren't detected by the extension, as these don't generate a 301 from the server. (They happen client side.)
You need to log in before you can comment on or make changes to this bug.