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
    Using Dotter for Form Submissions

    One of the plugins I'm most proud of is Dotter. Dotter allows you to create the typical "Loading..." text without using animated images. I'm often asked what a sample usage of Dotter would be; form submission create the perfect situation. The following...

  • By
    CSS Transforms

    CSS has become more and more powerful over the past few years and CSS transforms are a prime example. CSS transforms allow for sophisticated, powerful transformations of HTML elements.  One or more transformations can be applied to a given element and transforms can even be animated...

Discussion

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