views:

161

answers:

2

When adding a bookmark or favorite the browser uses the TITLE tag of the page to automatically populate the title of the bookmark. However, my web pages use SEO-friendly titles which are not really user-friendly. Is there a method to override the title when the browser makes a bookmark?

I am aware that I can create a link on the page that calls javascript:

javascript:window.external.addFavorite("url","custom title");

But is is possible to do something similar when a user uses the menu or hotkey to create a bookmark?

+2  A: 

I can't see how that would be possible. The browser takes the Title loaded, which is the Title displayed on the top of the page. When saving a bookmark, it doesnt go through the code. It just adds the URL and takes the site Title.

You could check if the "bookmark"-pressing triggers a javascript event, though, i think it woudlnt be cross-browser :)

Filip Ekberg
+3  A: 

You're trying to solve the wrong problem.

However, my web pages use SEO-friendly titles which are not really user-friendly

This is what you need to fix. Your page titles should be user friendly.

To be honest, if you're doing it right SEO and User friendly titles should be synonymous... can you post some examples as to why you feel the need for them to be so different?

Binarytales
Unfortunately, I am at the whim of senior executives and outside consultants that mandate that the titles geared toward SEO. Yes, it's gaming the system and is horrendous. /sigh
Tom Welch
Your execs need to decide who your audience is: users or search engines.
Diodeus
They decided. Search engines. Users don't see us if we get pushed down page 1 of The Google.
Tom Welch