Neil's Place

February 2, 2003

6:12 PM Comments

I really didn't want to do this, but all the other Mozilla weblogs are doing it, so I added a place to add comments.

Comments ( 24 )

January 30, 2003

11:33 PM Babies!

Today, pictures of co-worker's kids have been hung up around the office. And that is all I have to say today.

Comments ( 21 )

January 29, 2003

11:48 PM XULPlanet Poll

What what you like to see on XULPlanet?

More Examples
XUL Forums
XUL Tip of the Week
Details about how to get trees to work with RDF
XUL development utilities
Pictures of Blake Ross naked

Comments ( 2 )

January 25, 2003

9:44 PM The Amazing Rechromeifier

You've probably encountered sites that open up new windows without menu bars or toolbars and so on. With this little Mozilla trick, you can press Control+F5 to get your chrome back. Or, press Shift+Control+F5 to get back the chrome in all browser windows, which is useful if someone has disabled the keyboard in a window. First, add the following to userChrome.css in your profile's chrome directory:

tabbrowser {
  -moz-binding: url('file:///stuff/rechrome.xml#tabbrowser');
}

You may use a different path if you wish. Here, /stuff/rechrome.xml is used. Then add the following to that file:

<?xml version="1.0"?>
<bindings id="rechromeBindings"
   xmlns="http://www.mozilla.org/xbl"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <binding id="tabbrowser" extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser">
    <handlers>
      <handler event="keypress" keycode="VK_F5" modifiers="control">
        window.top.document.documentElement.setAttribute("chromehidden","");
      </handler>
      <handler event="keypress" keycode="VK_F5" modifiers="shift,control">
        var wm=Components.classes["@mozilla.org/appshell/window-mediator;1"].getService();
        wm=wm.QueryInterface(Components.interfaces.nsIWindowMediator);
        var wlist=wm.getEnumerator(null);
        while (wlist.hasMoreElements("navigator:browser")){
          var docelem=wlist.getNext().document.documentElement;
          if (docelem.hasAttribute("chromehidden"))
            docelem.removeAttribute("chromehidden");
        }
      </handler>
    </handlers>
  </binding>
</bindings>

Feel free to change the keys to something else. Not that this trick may require a fairly new version of Mozilla. Slight changes may be needed for older versions or for Phoenix.

Comments ( 23 )

January 22, 2003

6:33 PM Interesting new feature

Put in UI to expose dynamic profile switching

Now that this is complete, this might be useful for some people doing development and testing.

Comments ( 8 )

January 21, 2003

6:42 PM Customizable toolbars coming to Mozilla soon?

[We are concentrating] our efforts on porting the Phoenix [toolbar customization] over and adapting it - UI Spec [PDF]

Comments ( 4 )

January 20, 2003

11:23 PM More documentation needed

There's been a few people lately interested on customizing and deploying Mozilla in a company. Looking at some of the comments, there certainly is a need for documentation and tools to help.

Back in the Netscape Communicator days, we used a collection of tools to handle building customized versions of Communciator. These handled building the preference files, the netscape.cfg file for locked preferences and branding, constructing the installer, code signing, and modifying the dial-up account creation process. Documentation was provided in the form of two 200-300 page manuals and a pile of on-line help. I spent 3 years working with these tools.

I'm not expecting Mozilla to be able to provide that level of help any time soon. But it would be nice to see some general documentation about how to distribute customized Mozillas (or customized Phoenixes). Administrators don't really want information that tells one to edit various files manually or write scripts. Simple instructions and simple tools to automatically deal with complex steps are necessary.

Comments ( 2 )

January 14, 2003

10:43 PM On Tabbed Browsing and Desktop Habits

Did you know that Mozilla has tabbed browsing? Of course you did. There are lots of people that use Mozilla's tabbed browsing. Or a similar such thing in another browser. But there are many people who don't, and can't figure out why tabs are so popular.

Well, whether you like them or not depends a lot on how you use your computer. If you're like me, you have 5 or 6 applications open at the same time. In general, I have a file manager-like window open, a mail window, an audio player in the corner, perhaps a few instant messaging windows scattered about, a few terminal/telnet sessions open, a text editor and some browser windows.

Now that means, on average I have 8 to 12 windows open at once. However, the taskbar, dock, or whatever, gets a little full at this point. It gets too inconvenient to use it as it involves a lot of searching around. So I pretty much stopped using it. Fortunately, I have a 19-inch monitor so I can see everything at once, so I don't need the taskbar. I know where the mail window is because it's always in the upper-right corner of the screen.

Having less windows on screen is convenient for me as it means I can see a tiny bit of every window at once. I need a text editor? I just click on that bit of blue covered up by a bunch of other windows. I know that since I've set my text editor up to have a blue background. I can use spatial memory and colour memory to know exactly where every window is on the screen. With tabbed browsing, I can lower the number of windows on screen and keep order to my desktop, since I know where the browser window is. Thus, it reduces the amount of time it takes to deal with other applications as there aren't 10 browser windows covering them.

However, there are some people that keep all their windows maximized. Do tabbed browsers have value there? Not really. In the case, the tab bar is just duplicating the taskbar.

If you only usually have three or four windows open at once, tabbed browsers aren't as useful for you either, since you can just see the list of windows on the taskbar.

Of course, I'm generalizing a bit, but each person can think of their own reasons for using tabs or not using them. The point is that if you don't like tabs, it probably has a lot more to do with the way that you use computer and organize your desktop (your desktop habits, if you will), than with any fault of tabbed browsing itself.

Comments ( 4 )