Useful prefs

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 22:19, 8 July 2004
Asqueella (Talk | contribs)

<-- Previous diff
Revision as of 22:45, 8 July 2004
Asqueella (Talk | contribs)

Next diff -->
Line 4: Line 4:
user_pref("nglayout.debug.disable_xul_cache", true); user_pref("nglayout.debug.disable_xul_cache", true);
- // Enable dump()+ // Enable dump() ([[Dev : Tips : Enabling dump |read more]])
user_pref("browser.dom.window.dump.enabled", true); user_pref("browser.dom.window.dump.enabled", true);

Revision as of 22:45, 8 July 2004

Add these prefs to user.js (in your Profile):

// Disable XUL Cache (so you don't have to restart everytime you change a XUL file)
user_pref("nglayout.debug.disable_xul_cache", true);
// Enable dump()  (read more)
user_pref("browser.dom.window.dump.enabled", true);
// Show chrome errors in the JS console
user_pref("javascript.options.showInConsole", true);
// Enable strict JS warnings
user_pref("javascript.options.strict", true);