Google Chrome Bookmarks API
问题 I'm creating a Chrome Extension that can saves and retrieves bookmarks specific only to the user. Bookmarks are stored in the local disk in a form of a file. So I use the bookmarks API of Google Chrome. But somehow their sample code doesn't work for me. function bkmk(){ chrome.bookmarks.create({'parentId': bookmarkBar.id, 'title': 'Extension bookmarks'}, function(newFolder) { alert(newFolder.title); }); } I trigger the function with an onclick event on a button.... Is there something wrong