-1

Using JavaScript, is it possible to add a bookmark in Firefox directly, without opening any dialog box? That is, I want the user clic on a link and that the bookmark is automatically created, without the need to any further step.

tic
  • 4,009
  • 15
  • 45
  • 86

2 Answers2

5

Fortunately, no. It would be a horrible breach of security.

Could be a different story in the context of a Firefox Extension, but I assume you are asking for a normal web page.

Pekka
  • 442,112
  • 142
  • 972
  • 1,088
1

If it was possible, any possible website would be able to create any kind bookmark, without the user even noticing.

As a user, I certainly hope this is not possible ^^

(And, as a developper, I don't think it is)

Pascal MARTIN
  • 395,085
  • 80
  • 655
  • 663