diff options
-rw-r--r-- | bookmarks-home/src/main.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bookmarks-home/src/main.tsx b/bookmarks-home/src/main.tsx index 1402347..71fc560 100644 --- a/bookmarks-home/src/main.tsx +++ b/bookmarks-home/src/main.tsx @@ -9,3 +9,9 @@ createRoot(document.getElementById('root')!).render( </StrictMode>, ) +chrome.bookmarks.create( + {'parentId': bookmarksBar.id, 'title': 'Bookmarks Extension'}, + function(newFolder) { + console.log("added folder: " + newFolder.title); + }, +);
\ No newline at end of file |