Bookmarks API in Firefox

Is there any API in Firefox for loading user bookmarks using javascript?

thanks,

Bruno

+4
source share
2 answers

For firefox, you can use the bookmark function in javascript via XPConnect. But this code may give the user a warning as a result of the privilege reason.

For more information about the code, you can refer to the online docs here https://developer.mozilla.org/en/Code_snippets/Bookmarks

+3
source

IE does not provide a Javascript API for accessing favorites. You can write Win32 code to list the shortcut files to your favorite folder , and then use the appropriate COM goo to crack the data in the .url files themselves.

+1
source

Source: https://habr.com/ru/post/1346525/


All Articles