Reputation: 9037
Are there any API on Firefox to retrieve the users' bookmarks with javascript ?
thanks,
Bruno
Upvotes: 4
Views: 2296
Reputation: 54600
IE doesn't expose Javascript APIs for access to Favorites. You can write Win32 code to enumerate the shortcut files in the favorites folder and then use the appropriate COM goo to crack open the data in the .url files themselves.
Upvotes: 1
Reputation: 1768
For firefox , you can use bookmark service in javascript via XPConnect. But these code may give user warning as the result of the privilege reason.
For more information about the code, you can refer to the online documents here https://developer.mozilla.org/en/Code_snippets/Bookmarks
Upvotes: 3