Create Add to Favorites/Bookmark button in Javascript


/ Published in: JavaScript
Save to your folder(s)

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts the user with a dialog box to add the specified URL to the Favorites list.

URL: http://www.apphp.com/index.php?snippet=javascript-add-to-favorites-button

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.