These scripts use fzf and sqlite to efficiently query your firefox history and bookmarks.
This is heavily inspired by a post from the creator of fzf: https://junegunn.kr/2015/04/browsing-chrome-history-with-fzf/.
fzf allows you to select multiple items and the results returned will be the URLs.
On Linux:
bhistory | xargs xdg-open
On macOS:
bhistory | xargs open
On Linux (with X11):
bbookmarks | xsel --clipboard -i
On macOS:
bbookmarks | pbcopy
- The firefox profile is matched with a glob wildcard (
*). This will probably break if you use more than one profile. - The scripts are untested but should work on macOS; you need to change the profile path to
~/Library/Application\ Support/Firefox/Profiles