~robcee/ more than just sandwiches

Posts Tagged Code

Scratchpad to get Current Visible Tabs

If you use Panorama (aka, TabView) in Firefox (6 and up) and want to get a list of the currently visible tabs (i.e., the tabs in your currently-selected group), here’s the code to run in a Scratchpad (set to Environment:Browser*): let group = gBrowser.visibleTabs; // current group group.map(function (c) c.linkedBrowser.currentURI.spec).join(“\n”); Just select these two lines, [...]


Workspace [fixed-in-devtools][l10n?]

Good news, everyone! This morning we landed the Workspace feature in our devtools project repository. This is exciting stuff for practitioners of JavaScript and we’ll have more to write about it very soon. hint, it’s probably a lot simpler and more powerful than you think it is. Many thanks to Mihai Sucan for taking the [...]


Workspace 0.5.3 + Bookmarks Deiconizer Approved

Workspace 0.5.3 is released on AMO! One gotcha: If you’re running Firefox Beta 11 or under, you might want to wait for Beta 12 to come out before upgrading (which should be tagged for building today or tomorrow). If you’re on a nightly, you’ll want to upgrade right away. The reason for the fix is [...]


Workspace 0.4.4

Just a quick note to let people know that I’ve updated the Workspace extension recently. Added support for saving and loading files as well as a hotkey (F4) to open it from the browser. Many thanks to Erik Vold for some nice fixes and improvements! Install it here: http://antennasoft.net/addons/workspace.xpi.


Oh no, Pinchy!

Sometime early this week, we disabled the pinch-zoom controls on trackpads in OS X (and maybe elsewhere, I’m unclear on how well-supported these gestures are on other platforms, but certainly present on mobile). You can read the gory details over in bug 613909. I use pinch-zoom All the Time. It’s a feature I can’t live [...]


Workspace 0.3

This weekend, I did a bit more work on the Workspace to get it closer to a releasable state. I also had some help in the form of some community contribution via the prolific Erik Vold on github. Download: workspace.xpi * added the relevant .htaccess bits so you can install directly from the link. Just [...]


JavaScript Workspaces

One feature I wanted in Firefox 4 was a JavaScript Workspace. I know I’ve talked about it to a bunch of people. Most of the time, people looked at me like I had a chicken on my head. The concept is so simple yet hard to really convey how useful it is. Conversations inevitably go [...]


Mozilla AllHands 2010 + Wikifytabs update

Every year we bring in Mozillians from around the globe to have a focused get-together. It’s a time when we can do some heavy planning, and brainstorm in one place. Often, some of the hallway conversations and parties generate good ideas. One conversation I had last night with Dietrich, Dolske and Mak was, how do [...]


console.foo() and you

For years, the world has been able to rely on Firebug and its console for debugging web sites. It has been a convenient and productive tool and we’d probably still be languishing in the window.dump() mines without it. A side-effect of this availability has made some patterns appear that don’t play nicely with consoles that [...]


Bookmarks Deiconizer, a Firefox Addon

It’s Black Friday! For some of you, that means lots of shopping, post-turkey discomfort and watching football. Maybe all at once. For me, it meant checking out the latest development trunk of the Add-ons SDK (née Jetpack) and bundling up an add-on. There were a couple of fun things about doing this. One, all of [...]


← Before