Mozilla 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 प्रत्युत्तर
  • 1 यह समस्या है
  • 9 views
  • के द्वारा अंतिम प्रतियुतर jaskaran81

more options

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.

jaskaran81 द्वारा सम्पादित

चुने गए समाधान

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

संदर्भ में यह जवाब पढ़ें 👍 2

All Replies (2)

more options

चयनित समाधान

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

more options

Thank you for the help.