Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
  • First, download this file to your desktop:

  • Open a terminal, and run the following:

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

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

0,10,20,30,40,50 * * * * /usr/local/bin/ > /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.

share|improve this answer
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.

share|improve this answer
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.