Editing configuration: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
Line 7: Line 7:
To modify the way in which Web pages are displayed, you should edit the [[userChrome.css and userContent.css | userContent.css]] file. To modify the appearance of the application itself, you should edit the [[userChrome.css and userContent.css | userChrome.css]] file.
To modify the way in which Web pages are displayed, you should edit the [[userChrome.css and userContent.css | userContent.css]] file. To modify the appearance of the application itself, you should edit the [[userChrome.css and userContent.css | userChrome.css]] file.
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.naylornetwork.com http://192.168.1.130");
user_pref("capability.policy.allowclipboard.sites", "http://www.naylornetwork.com/ http://192.168.1.130/fileDepot/");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

Revision as of 16:33, 27 January 2006

Mozilla applications are highly customizable, and there are a number of standard ways to change their appearance and behaviour. Basic settings can be changed using the application's dialog boxes. The main Options or Preferences dialogs can be reached from the "Tools" or "Edit" menus. (See menu differences in Windows, Linux, and Mac.)

Modifying preferences—adding, removing and setting

To make more advanced changes to the application’s behaviour, you should either edit the user.js file, or use the about:config interface. Note that whilst it is often quicker to use about:config, editing the "user.js" file has the advantage of portability: your preferences will never be overridden, and they can be transferred to a different profile, or backed up for safe keeping.

Modifying appearance

To modify the way in which Web pages are displayed, you should edit the userContent.css file. To modify the appearance of the application itself, you should edit the userChrome.css file. user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://www.naylornetwork.com/ http://192.168.1.130/fileDepot/"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

External links