Don't assume existence of hard-coded bookmark Ids (#1434)

Instead, use the default location on the create() call.
This commit is contained in:
ljjlee
2025-03-31 13:30:15 +02:00
committed by GitHub
parent db2d231476
commit 40456c76c1

View File

@@ -42,7 +42,6 @@ function displayBookmarks(nodes, parentNode) {
function addBookmark() {
chrome.bookmarks.create(
{
parentId: '1',
title: 'Google',
url: 'https://www.google.com'
},