搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.