Fauxbar
Fauxbar copied to clipboard
Feature: Show and search folder names
Besides searching the the fields: Url, Title, ...
I think I can make this work.
Internally, Chrome bookmark folders are essentially a bookmark without a URL, just a title and an internal ID.
Using Fauxbars existing urls
table, I think I can get away with adding folders as entries with a
fauxbar-bookmark-folder://xxxx
URL, where xxxx
is the internal folder's ID...
Or I see that the urls
table has a type
field which is 1
for regular URLs, and 2
for bookmarks. So maybe 3
would be for bookmark folders. and I'll just leave the URL field blank perhaps.
And then, when the folder appears as a result:
- Single-click to open the folder's bookmarks in the current window
- Shift+Click to open the folder's bookmarks in a new window
- Ctrl+Shift+Click to open the folder's bookmarks in an incognito window
By default I will probably have folders use the "unvisited bookmark" frecency score. I might be able to track proper scoring with clicks, but I'll need to investigate if that's reasonably possible, and how it behaves with existing bookmarks once they're launched.
Similar to the current is:fav
phrase you can use when searching to only show bookmarks, I'll probably add an is:folder
phrase too.