


The code that makes safe mode happen is in C++ startup code, so we can’t mess with that. Unfortunately, we can’t completely remove the concept of safe mode. So we can build an add-on that disables safe mode and by placing it here, it will always be executed. They are not disabled when Firefox is placed into safe mode (and they shouldn’t be!). The important thing to realize about putting add-ons into this directory is they become a part of Firefox. In my previous post about Integrating Add-ons into Firefox, I talked about putting add-ons into the distribution/bundles directory. This post will tell you how to do it with an add-on.

I have one more post planned about customizing Firefox with add-ons and the CCK Wizard, but I wanted to get this out in the mean time.Ī lot of people ask how to disable safe mode in Firefox in an enterprise environment. The safe mode dialog was changed and I can find no way to prevent it from displaying. NOTE: None of the methods documented in this post work anymore.
