How do I override the title of a bookmark for a web page?

When adding a bookmark or favorites, the browser uses the TITLE tag on the page to automatically fill in the title of the bookmark. However, my web pages use SEO friendly titles which are not very user friendly. Is there a way to override the title when the browser makes a bookmark?

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

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

      

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

+1


source to share


2 answers


I don't see how this will be possible. The browser loads the Title, which is the title displayed at the top of the page. When you save a bookmark, it doesn't go through the code. It just adds the url and takes the site name.



You can check if the "bookmark" fires a javascript event, but I think it won't cross browser :)

+2


source


You are trying to solve the wrong problem.

However, my web pages use SEO friendly titles which are not very user friendly.



This is what you need to fix. Page titles should be user-friendly.

Honestly, if you're doing it right, SEO and user-friendly headlines should be synonymous ... can you post some examples of why you feel the need to make them so different?

+3


source







All Articles