开发者

Bookmarks API on Firefox

Are there any API on Firefox to retr开发者_C百科ieve the users' bookmarks with javascript ?

thanks,

Bruno


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜