Private Browsing is one of the new features of Firefox which extension developers should start to handle in their extensions. The API for this new mode is quite straightforward, and easy to use. In addition, theme developers may want to style Firefox differently inside the Private Browsing mode. That is also insanely easy to do. In this article, I'm going to give you an overview of how the API works, plus with some sample code. Note that what I'm explaining here is based the latest features landed on Mozilla trunk, and I don't expect any of them to break before the final release of Firefox 3.1, but we may land extra API support if add-on developers demand it, so make sure to leave your comments.