Open Multiple Firefox Tabs from Command Line
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!
![Regular Expressions for the Rest of Us]()
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
![How I Stopped WordPress Comment Spam]()
I love almost every part of being a tech blogger: learning, preaching, bantering, researching. The one part about blogging that I absolutely loathe: dealing with SPAM comments. For the past two years, my blog has registered 8,000+ SPAM comments per day. PER DAY. Bloating my database...
![Create Twitter-Style Buttons with the Dojo Toolkit]()
I love that JavaScript toolkits make enhancing web pages incredibly easy. Today I'll cover an effect that I've already coded with MooTools: creating a Twitter-style animated "Sign In" button. Check out this five minute tutorial so you can take your static...
![Web Notifications API]()
Every UI framework has the same set of widgets which have become almost essential to modern sites: modals, tooltips, button varieties, and notifications. One problem I find is each site having their own widget colors, styles, and more -- users don't get a consistent experience. Apparently the...