I run firefox in Linux, and I’ve noticed a problem with the facebook extension. It seems like, if firefox ever shuts down abnormally (from dying, or from X-windows dying, etc.) the facebook toolbar gets stuck in a semi-bad state. Normally, after you login to facebook, the question marks shown below (next to the pokes, friend requests, and messages icons) disappear, and the toolbar notes the name of the person logged in.

Once the toolbar gets confused, this transition doesn’t occur. The look of the toolbar stays in a ‘not logged in’ condition. The toolbar will continue to popup little windows when certain events occur, but it won’t tell you if you’ve been poked, have friend requests, or messages.

Some background information…

The firefox extension for facebook is a wonderful thing. Once you have installed it and logged in, it will tell you when you get poked, get friend requests, or get messages.

Firefox Toolbar before login

This is what the toolbar looks like before logging in. You can tweak the look of the toolbar so that it shows (or hides) certain things. Also, the toolbar will popup a brief window in the corner of the screen when someone changes their status, has new wall posts, etc. All in all, a useful extension.

After much trial and error, I discovered what I needed to do to fix the problem with the toolbar getting “stuck”.

  1. Shutdown firefox
  2. Go into your mozilla preferences directory. On linux, this is something like ~/.mozilla/firefox/default.3ra/ (the last directory is likely to be named something different).
  3. Edit the localstore.rdf file.
  4. Delete the RDF description for the facebook-toolbar. Search for and delete the following. It will be on 2 lines in the file, but I’ve broken it up here so that you can see it:
      <rdf : Description RDF:about="chrome://browser/content/
                                        browser.xul#facebook-toolbar"
       currentset="facebook-sidebar-toggle,separator,facebook-link-menu,
    separator,facebook-notification-poke,facebook-notification-reqs,
    facebook-notification-msgs,facebook-notification-separator,
    facebook-share,spring,facebook-login-info" />
    

Once you’ve deleted that section and saved the file, you should be able to restart firefox, log into the facebook toolbar, and be in good shape. Hope this helps someone out there!

Related posts:

  1. Truncated TextAreas in Firefox 2.0 Recently I’ve had a problem with my text boxes (“TEXTAREA”s,...