On 25/03/2009, at 11:15 PM, designer wrote:
Does anyone know of a modern, valid, reasonably cross-browser way to provide a link on a page so that a user can add the page to favourites?

There is no way of doing this across all browsers, so all you're left with are the browsers who have provided a proprietary mechanism. Off the top of my head, only IE and Gecko-based browsers have this. You've already discovered window.external.addFavorite() for IE, so all that's left is the Mozilla/Firefox counterpart:

    window.sidebar.addPanel("Google", "http://www.google.com/";, "");


Nathan de Vries

List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org

Reply via email to