views:

85

answers:

2

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.

+5  A: 

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
A: 

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