MultiDev
MultiDev

Reputation: 10649

How to create "Add To Favorites" hyperlink?

I am trying to create a hyperlink that, when clicked, will prompt the user to add the current page to their browser's favorites.

I have been unable to find a clear-cut answer to this question, or an answer that was posted to the Internet less than 7 years ago that still works.

How is this done?

Upvotes: 2

Views: 4981

Answers (1)

Enrico
Enrico

Reputation: 10665

I have been unable to find a clear-cut answer to this question, or an answer that was posted to the Internet less than 7 years ago that still works.

How is this for clear cut... you can't.

7 years ago, various browsers supported various ways (some hacks, some official) to add bookmarks using javascript. However, as duskwuff mentioned, support for this functionality is on the way out - maybe because it was little used, maybe because it is a security issue.

Upvotes: 1

Related Questions