Is there a program that will allow me to use Spotlight to search my Firefox bookmarks and open the browser window?

  • First, download this file to your desktop: ffmd.sh

  • Open a terminal, and run the following:

sudo mkdir /usr/local
sudo mkdir /usr/local/bin
sudo mv ~/Desktop/ffmd.sh /usr/local/bin/
sudo chmod 755 /usr/local/bin/ffmd.sh
sudo chown root:wheel /usr/local/bin/ffmd.sh

  • Now, schedule the task with crontab. The following line will schedule for 10 minutes:

0,10,20,30,40,50 * * * * /usr/local/bin/ffmd.sh > /dev/null 2>&1

This script is in the public domain, and intended for those with a little experience with UNIX.

the source is here.

  • 2
    It might be worthwhile to explain just what this script is doing (eg. "Basically it's a shell script that parses your bookmarks.html file and writes it out as .webbookmark files in the Spotlight cache -- which is what Safari does with its bookmarks" ripped from the source) – Chealion Sep 2 '10 at 22:12
  • What is the wheel group? – Casebash Sep 4 '10 at 13:08
  • Unfortunately this script is outdated. Firefox has a new bookmarks format. It actually doesn't look very difficult though. I will have a go a writing a new script if I ever get a chance – Casebash Sep 14 '10 at 9:03

Here is a proof of concept ffmd_sqlite script that uses the Firefox places database. Webloc docs are created that will be found by Spotlight and can be opened with Firefox.

  • Hello, and welcome to Ask Different! Please do not simply link to raw scripts without providing context; if the code is yours, do explain what it does (and why it is “proof of concept”), if it is not, please link to a resource explaining it as well as giving a summary. Also, a usage note (how to install and run) would be helpful. – kopischke Oct 30 '12 at 12:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .