familyfriendlymikey / fuzzyhome

A Chrome extension that turns your new tab page into a fuzzy finding command palette.
https://chrome.google.com/webstore/detail/fuzzyhome/lbnndgaohjkpbaekakcdfeiacagfcinf
32 stars 3 forks source link

Procedurally resolve title of bookmarks bar #1

Closed pelletencate closed 1 year ago

pelletencate commented 1 year ago

Description

The bug:

S2R

  1. Open this extension in a non-english Chrome, or in Brave
  2. Try to find a bookmark

Expected It finds my bookmark

Observed The collection is empty

Notes The lookup is done by title "Bookmarks Bar", which does not apply in all cases described.

The fix

According to this (arguably questionable) source, the Bookmarks bar is guaranteed to be the first tree node below the root, so you can resolve it as its first child.

Author review