Question: Can I bookmark a webpage programmatically from JavaScript? Answer: In Internet Explorer 4.0 and newer versions, you can invoke the browser's Add Favorite dialog by calling the method window.external.AddFavorite() . In Firefox, similar functionality can be achieved using the method window.sidebar.addPanel() The actual appearance of the dialogs depends on the browser, OS, and display settings. The screenshots below show these dialogs under Windows XP (Windows Classic theme): Other major browsers do not support these methods. Still,
Read full article from JavaScript Bookmarks: Add Favorite
No comments:
Post a Comment