This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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

  • 2 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 9 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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

การตอบกลับทั้งหมด (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.