Open Bug 502418 Opened 15 years ago Updated 19 days ago

Support canonical URL with one-click bookmarking


(Firefox :: Bookmarks & History, enhancement, P5)





(Reporter: kohei, Unassigned)


When a user clicks the star icon in the location bar, Firefox should bookmark (or suggest bookmarking) the canonical URL provided by the visiting page.

This feature will be helpful both to users and publishers. They don't want URLs with tracking tags to be bookmarked. Consider AdWords conversion tracking or custom campaigns.

Steps to Reproduce

1. a user visits
2. s/he gets to 
3. a user clicks the star icon

Actual Results will be bookmarked.

Expected Results should be bookmarked (if the site provides canonical URL; see Bug 481550 for implementing on
See for details on canonical URL.

Hatena Bookmark, an add-on released by Japanese most popular social bookmark service, suggests canonical URL when a user click its Bookmark This Page button.
How exactly would we know what the canonical URL is for an arbitrary site?
Would you like to see a real example? 

1. Subscribe a RSS feed on CNET:

2. You'll find an interesting article then click such a link:

3. This page's canonical URL is

You can find it in the page source:
<link rel="canonical" href="" />

4. Click the star icon. Firefox will immediately bookmark

Yes, my idea is that Firefox should bookmark
see also bug 327024

ideally we couls look into recent redirects and get the original address, not sure if that's what we want though. We end up bookmarking something different from what the user sees. but at the same time we lose "site features" like automatic redirects based on platform/locale.
confirming for brainstorming.
See also bug 777799
+1 for this

Note that the canonical URL is not supposed to return anything different for the user. It's intended to indicate the official URL to get to that page for search engines, social media, etc. 

I think when bookmarking, if there is a canonical URL, Firefox should, if the canonical URL is different, show a dialogue to choose either the canonical URL or the exact one.

It would probably make sense for the dialog to simply ask for a title and have a "More" button to choose the folder, tags, and URL. 

I note that Chrome currently behaves like Firefox and bookmarks the current URL vs the canonical one.
Priority: -- → P5
I think there may be some overlap with Bug 8648
For what its worth, I've released a Firefox add-on For what it's worth, I've just released the following Firefox add-on that will suggest you update your bookmark when you visit a page with a different canonical URL.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.