We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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

  • 2 svar
  • 1 har dette problem
  • 9 visninger
  • Seneste svar af 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.

Ændret af jaskaran81 den

Valgt løsning

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

Læs dette svar i sammenhæng 👍 2

Alle svar (2)

more options

Valgt løsning

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.