用于书签的 Chrome 扩展程序
可能的重复:
Google Chrome 书签 API
是否可以使用 Chrome 的书签 API 加载书签(存储在书签栏中的扩展用户的本地)?
Possible Duplicate:
Google Chrome Bookmarks API
Is it possible with the use of Chrome's Bookmarks API to load the bookmarks (stored locally) of an extension user in the bookmarks bar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,如果我明白你在问什么,Chrome 扩展 API 允许你与书签交互。 以下是文档。另外,这里是我编写的一些与该 API 交互的示例代码 - 我不知道您要如何处理书签,但这会将事件侦听器附加到书签添加和删除事件,并且在启动时将遍历他们的整个书签树。 代码
包含有关您想要执行的操作的一些其他详细信息- 有人可能可以提供更彻底的答案。
Yes, if I understand what you're asking the Chrome extension API allows you to interact with bookmarks. Here are the docs. Additionally here is some example code I've written that interacts with that API - I don't know what you're looking to do with bookmarks, but this attaches event listeners to the bookmark add and delete events and, on startup, will traverse their entire bookmark tree. Code
With some additional details about what you'd like to do - someone could probably provide a more thorough answer.