Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

Create a bookmark and shortcut via a button click (javascript) in a webpage

  • 2 replies
  • 1 has this problem
  • 105 views
  • Last reply by jaskaran81
  • Solved

I am developing a html webpage in which i'd like to have a button/link to create a shortcut on the user's desktop and add a bookmark. I have been trying to create a shortcut/bookmark via javascript but without success. Request for help Please.

I am developing a html webpage in which i'd like to have a button/link to create a shortcut on the user's desktop and add a bookmark. I have been trying to create a shortcut/bookmark via javascript but without success. Request for help Please.

Modified by jaskaran81

Chosen solution

That is not possible via JavaScript. You can only instruct visitors to press Ctrl+D to bookmark your website.

Read this answer in context 👍 2

All Replies (2)

Chosen Solution

That is not possible via JavaScript. You can only instruct visitors to press Ctrl+D to bookmark your website.

Thank you for the help.