From 40456c76c18bfed6bb88f5c798cf4e7e903cd299 Mon Sep 17 00:00:00 2001 From: ljjlee Date: Mon, 31 Mar 2025 13:30:15 +0200 Subject: [PATCH] Don't assume existence of hard-coded bookmark Ids (#1434) Instead, use the default location on the create() call. --- api-samples/bookmarks/popup.js | 1 - 1 file changed, 1 deletion(-) diff --git a/api-samples/bookmarks/popup.js b/api-samples/bookmarks/popup.js index 94cc74fc..6156c9dc 100644 --- a/api-samples/bookmarks/popup.js +++ b/api-samples/bookmarks/popup.js @@ -42,7 +42,6 @@ function displayBookmarks(nodes, parentNode) { function addBookmark() { chrome.bookmarks.create( { - parentId: '1', title: 'Google', url: 'https://www.google.com' },