For example, if there is a folder inside the bookmark tree nodes with the title “test” and i initiate a search with
var searching = browser.bookmarks.search({title: "test"});
The result is empty. However if i use
var searching = browser.bookmarks.search({url: "https://someurl.com"});
this works as expected and i get the as return the needed bookmark node with all details.
In my opinion this is a huge bug which needs to be fixed, because there is no other way to find folders, since folders didn’t have a url to search for.
But in my tests, removePFolder was always empty or better, does not have any results. The object bArrayT holds my bookmark data, where fdID has the name of the parentfolder.
Currently i didnt search for the parentfolder, with the result that some of the bookmarks are not removed by the function (because im not at the right folder). I hope this makes sense for you. This is my first AddOn and im not very experienced in creating browser AddOns.
I have no idea if this is fixed in version 84, but i can confirm, that searching a folder by title/name is working now in my AddOn. I have no idea, why it wasn’t working before.
Then i can now rebuild the code for detecting the right folder. Many thx for your help.