Open Multiple Firefox Tabs from Command Line

By  on  

Now that I work on Firefox Developer Tools, I'm really starting to learn some of the tricks of building, debugging, and launching Firefox.  Once I start using Firefox at a developer level each day, the more I become amazed at how configurable and easy to work with Firefox is.p>

Since a good portion of my day is spent working on the Firefox DevTools debugger inside a browser in what we call "launchpad", I need shortcuts to make launching and setting up Firefox for development quick.  The following command allows me to launch Firefox with the multiple tabs I need:

/Applications/Firefox.app/Contents/MacOS/firefox \
    -new-tab -url https://davidwalsh.name \
    -new-tab -url https://css-tricks.com

Incorporating a command like this into a setup.shor likewise file to start my debugging makes setting up a development environment so easy.  There's nothing worse than creating tabs and typing the same URLs over and over!

Recent Features

Incredible Demos

  • By
    MooTools ASCII Art

    I didn't realize that I truly was a nerd until I could admit to myself that ASCII art was better than the pieces Picasso, Monet, or Van Gogh could create.  ASCII art is unmatched in its beauty, simplicity, and ... OK, well, I'm being ridiculous;  ASCII...

  • By
    CSS Triangles

    I was recently redesigning my website and wanted to create tooltips.  Making that was easy but I also wanted my tooltips to feature the a triangular pointer.  I'm a disaster when it comes to images and the prospect of needing to make an image for...

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!