为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how do I open all tabs in a bookmarks FOLDER from a shortcut

more options

I have a series of folders in my bookmarks - containing related urls (and sub-folders).

I can easily create a shortcut on my desktop to a specific url.

How do I create a shortcut to a FOLDER of urls in my bookmarks list and have all urls in that folder open in a new session?

I have a series of folders in my bookmarks - containing related urls (and sub-folders). I can easily create a shortcut on my desktop to a specific url. How do I create a shortcut to a FOLDER of urls in my bookmarks list and have all urls in that folder open in a new session?

所有回复 (6)

more options

Sorry, you can't access Firefox Bookmarks folders via a desktop shortcut.

Create the desktop shortcut with the URL's that you want to open using Command Line Options for Firefox. https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-url_URL Note: When opening multiple URLs, Firefox always opens them as tabs in a new window.

more options

Thanks for responding but nothing, from that url you gave, worked. I tried too many variations to list them here, so I wont.

Could you perhaps give me an example of the line to be entered in a shortcut that results in firefox being opened with, say, just two urls in two tabs.

Or do I need a .bat file or a cmd.exe line or something else?

I'm using Windows 10 - if that has any relevence.

more options

Browser -url URL

Example 2

This goes in the Target line of a new desktop shortcut for firefox.exe.

firefox www.mozilla.com developer.mozilla.org

firefox - sets the executable to open space www.mozilla.com - first tab URL space developer.mozilla.org - 2nd tab URL

I don't know if there is a max limit on the number of URL's / tabs that can be opened from Command Line, but I just tested it with 10 URL's.

Yes, I suppose a .bat file could be used, but isn't really necessary. Firefox Command Line parameters can handle it a lot easier with less "coding".

more options

As you probably know, Firefox has an interactive feature to "Open All in Tabs" for a bookmarks folder. But that is only for bookmarks in that folder; it does not reach into subfolders.

Even give that limitation, I can't think of any built-in feature to automatically open the bookmarks in new tabs, without clicking the command on the menu.

You may want to look into bookmark-related add-ons to see whether there is one that can help with any of this.

more options

I thank you for your efforts but I cannot mark this as "solved" since it isn't.

I will try and solve it. Maybe it is an add-on. I've not seen one.

I am going to have to use some user-unfriendly stuff, which I was trying to avoid. It will work for some but not the whole community. Too much mucking about needed - but possible and you only have to muck about once or - more accurately - once each time you change a bookmark folder's structure. Yes, it will work for subfolders also.

Is there somewhere that I should post my solution - if I get one?

Again, I thank you. I do appreciate the time that you have taken.

more options

firefoxmal said

Is there somewhere that I should post my solution - if I get one?

This thread would be a good place to start. Otherwise, it would depend on the nature of the solution.