Create a desktop shortcut for a group of bookmarked tabs in Firefox?

Posted on

QUESTION :

Is there a way to create a desktop shortcut to a group of bookmarked tabs in Firefox?

To explain further: creating a desktop shortcut to a bookmark is easy – at the simplest you can just drag the url to the desktop. And, bookmarking a group of tabs in Firefox is easy – just “Bookmark All Tabs”, which you can then open all at once.

But – I can’t seem to find a way to make a desktop bookmark to open a group of bookmarks in tabs at once. Is my google-fu really bad, or is that actually not possible?

(For the record, I’m on windows, but for the sake of completeness, answers on any and all platforms are welcome.)

ANSWER :

Create a new shortcut to point to Firefox (or just copy an existing one). Right-click on the shortcut and select “Properties”. In the “Target” field, scroll to the end of the line after the path to the firefox executable and add urls, each enclosed in quotes like this:

"C:Program FilesMozilla Firefoxfirefox.exe" "http://example.com" "http://superuser.com"

That should open each URL in a new tab. Also check out the Mozilla Knowledgebase for more Firefox command line goodness.

Update: Guess I should close my browser to test before declaring victory… updated with working answer on FF 3.5 on Win 7 x64

This assumes that you are (a) on Windows and (b) that Firefox is your default web browser.

Open up Notepad and type the following:

@echo off
start "superuser" "www.superuser.com"
start "google" "www.google.com"

Add more “start” lines as appropriate. Save this with the extension “.cmd”, EG, “sites.cmd”.

Create a shortcut to that and launch from there. That seems to reliably open one window with one tab for each site.

Ugly, but it works in 3.5 on Win7.

UPDATE

If you’re on Windows, go with heavyd’s answer instead. You may have to adjust the path to Firefox (EG, mine is located in “Program Files (x86)”), but otherwise that’s the cleanest way.

For now I’ll leave this answer up, but I may delete it in the future if it proves to be too much noise.

Leave a Reply

Your email address will not be published.