Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

What is the alternate of javascript "window.sidebar.addPanel" in Firefox 28

more options

if (window.sidebar) { // Mozilla Firefox Bookmark

window.sidebar.addPanel(title, url, " ");
} else if( window.external ) { // IE Favorite
window.external.AddFavorite( url, title);

}

if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(title, url, " "); } else if( window.external ) { // IE Favorite window.external.AddFavorite( url, title); }

All Replies (3)

more options
more options

Thanks Man, I found those links helpful. But I couldn't found the solution yet. I tried with 'Social Bookmark Service' but still not able to add bookmark. A simple example, just to add a bookmark will be favorable.

Thanks in Advance :)

more options

You can't add a bookmark. You can create a sidebar that loads whatever content the bookmark did. If you need more help than the information provided in the above links, ask in the Add-ons Forum.