MozillaZine

Mozilla Installation and Setup Checklist

Tuesday September 3rd, 2002

Dave writes: "I have an article on how to install and do some 'must-have' basic configuration at http://users.rcn.com/djgoodwin/moz.html. This might be useful for beginners or as a checklist for Mozilla fans installing the browser for friends."


#6 my preferred options

by thegoldenear

Wednesday September 4th, 2002 1:52 AM

You are replying to this message

useful Preferences (user interface menu options and corresponding PREFS.JS settings. if you want to hand write these into the configuration file then that should be in the file USER.JS)

// Navigator -> When Navigator starts up, display : Blank Page user_pref("browser.startup.page", 0);

// Navigator -> Select the buttons you want to see in the toolbars: - Bookmarks - off user_pref("browser.toolbars.showbutton.bookmarks", false);

// Navigator -> Select the buttons you want to see in the toolbars: - Go - off user_pref("browser.toolbars.showbutton.go", false);

// Navigator -> Select the buttons you want to see in the toolbars: - Home - off user_pref("browser.toolbars.showbutton.home", false);

// Navigator -> Select the buttons you want to see in the toolbars: - Search - on user_pref("browser.toolbars.showbutton.search", true);

// Navigator -> Select the buttons you want to see in the toolbars: - Print - off user_pref("browser.toolbars.showbutton.print", false);

// Navigator -> Smart Browsing -> Internet Keywords - Enable Internet Keywords - on user_pref("keyword.enabled", true);

// Navigator -> Smart Browsing -> Location Bar Autocomplete -> Automatically complete text typed into Location bar - on // ????????????????????????????????

// Navigator -> Smart Browsing -> Location Bar Autocomplete > Advanced... -> Autocomplete Preferences -> Autocomplete best match as you type - off // ? user_pref("browser.urlbar.autocomplete.enabled", false);

// Navigator -> Smart Browsing -> Location Bar Autocomplete > Advanced... -> Autocomplete Preferences ->Show list of matching results - on user_pref("browser.urlbar.showPopup", true);

// Navigator -> Smart Browsing -> Location Bar Autocomplete > Advanced... -> Autocomplete Preferences -> Show internet search engine - on user_pref("browser.urlbar.showSearch", true);

// Navigator -> Internet Search -> Default Search Engine -> Search using : Google (or your preferred) user_pref("browser.search.defaultengine", "engine://D%3A%5Cprograms%5Cmozilla.org%5CMozilla%5Csearchplugins%5Cgoogle.src");

// Navigator -> Internet Search -> Search Results -> Open the Search tab in the Sidebar when search results are available - off user_pref("browser.search.opensidebarsearchpanel", false);

// Navigator -> Tabbed Browsing -> Tab Display -> Hide the tab bar when only one tab is open - on user_pref("browser.tabs.autoHide", true);

// Navigator -> Tabbed Browsing -> Tab Display -> load links in the background - on user_pref("browser.tabs.loadInBackground", true);

// Navigator -> Tabbed Browsing -> Open tabs instead of windows for -> Middle-click or control-click of links in a web page - on user_pref("browser.tabs.opentabfor.middleclick", true);

// Navigator -> Tabbed Browsing -> Open tabs instead of windows for -> Control+Enter in the URL bar - on user_pref("browser.tabs.opentabfor.urlbar", true)

// Composer -> When Saving or Publishing Pages -> Retain original source formatting - on user_pref("editor.prettyprint", false);

// Composer -> When Saving or Publishing Pages -> Always show Publish dialog when publishing pages - on user_pref("editor.always_show_publish_dialog", true);

// Privacy & Security -> Cookies - Enable cookies for the originating web site only (1) / Enable all cookies (0)? user_pref("network.cookie.cookieBehavior", 0);

// Privacy & Security -> Images -> Image Acceptance Policy -> Accept images that come from the originating server only // (set this if you want to be especially careful, but some sites won't work as expected) // user_pref("network.image.imageBehavior", 1); // or just leave it out

// Privacy & Security -> Images -> Animated images should loop : Once (turns off the tedium of moving images whilst // trying to read. but some sites won't work as expected) user_pref("image.animation_mode", "once");

// Privacy & Security -> Passwords -> Password Manager -> Remember Passwords - off // (depending on personal taste, as its useful but you may not want it and thus may not want to keep // answering 'no' to requests to save). if you want it on just leave out this pref // user_pref("signon.rememberSignons", false);

// Privacy & Security -> Passwords -> Encrypting versus Obscuring : use encryption when storing sensitive data - on/off // (this is a balance of usability versus security)

// Advanced -> Enable features that help interpret web pages -> Enable Java: on // (on by default. you may choose to turn it off to increase security)

// Advanced -> Enable features that increase performance -> Enable Quick Launch -> on/off // (depending whether you have the available RAM. this is off by default and you get the ability to turn it on at installation)

// Advanced -> Scripts & Windows -> Enable JavaScript for: Navigator - on user_pref("javascript.enabled", "true");

// disallow JavaScript for Mail&News user_pref("javascript.allow.mailnews", "false");

// Advanced -> Scripts & Windows -> Allow scripts to: Open unrequested windows - off user_pref("capability.policy.default.Window.open", "noAccess");

// Advanced -> Scripts & Windows -> Allow scripts to: Open a link in a new window (requires restarting Mozilla) - off user_pref("dom.disable_open_during_load", true);

// Advanced -> Scripts & Windows -> Allow scripts to: Move or resize existing windows - off user_pref("dom.disable_window_move_resize", true);

// Advanced -> Scripts & Windows -> Allow scripts to: raise or lower windows - off user_pref("dom.disable_window_flip", true);

// Advanced -> Scripts & Windows -> Allow scripts to: Change status bar text - off user_pref("dom.disable_window_status_change", true);

// Advanced -> Scripts & Windows -> Allow scripts to: Change images - off user_pref("dom.disable_image_src_set", true);

// Advanced -> Scripts & Windows -> Allow scripts to: Create or change cookies - on user_pref("dom.disable_cookie_set", true);

// Advanced -> Scripts & Windows -> Allow scripts to: Read cookies - on user_pref("dom.disable_cookie_get", false);

// Advanced -> Cache -> Memory Cache: 4096 / 8192 / 12288 / 16384 / etc (give it all you can spare) // Mozilla runs faster if you use RAM for the cache, if you've got it to spare. user_pref("browser.cache.memory.capacity", 8192);

// Advanced -> Cache -> Disk Cache Folder -> Choose Folder... (and set to wherever is appropriate, but preferably local) // in Windows, by default the disk cache is stored in %WINDIR%\Application Data\Mozilla\Profiles\profile name. // if you have your disk partitioned or are spreading Windows over multiple disks for different functions then // you don't want the browser cache growing in the Windows partition. so, locate it in your temp partition, or // wherever you store profiles/caches. this menu option relates to the following in the PREFS.JS file: // (see also network.http.use-cache) user_pref("browser.cache.disk.enable", true); user_pref("browser.cache.disk.parent_directory", "F:\\[USERNAME]\\mozilla");

// Advanced -> Software Installation -> Update Notifications -> Check for updates - off user_pref("update_notifications.enabled", false);

// Advanced -> System -> Windows should use Mozilla to open these file types: -> JPEG images - off // Advanced -> System -> Windows should use Mozilla to open these file types: -> GIF images - off // Advanced -> System -> Windows should use Mozilla to open these file types: -> PNG images - off // Advanced -> System -> Windows should use Mozilla to open these file types: -> MNG images - off // Advanced -> System -> Windows should use Mozilla to open these file types: -> BMP images - off // Advanced -> System -> Windows should use Mozilla to open these file types: -> ICO images - off // THESE CANNOT BE CONFIGURED FROM IN HERE BUT YOU SHOULD GET ASKED ON FIRST LOAD OF MOZILLA

// configurable security policies // ============================== // prevent web pages from changing the text in the status bar // (Some web pages create "blind links" by changing the status bar text when you hover over the link, preventing // the link address from being shown in the status bar. This line will turn most blind links into normal links.) user_pref("capability.policy.default.Window.status", "noAccess");

// While using tabbed browser, visiting a page which calls the window.close() method of JavaScript, // the entire window will close, as opposed to the tab which contained the code. (Bug 103452) // As a workaround, you may wish to disable window.close() for all websites by setting the following preference: user_pref("capability.policy.default.Window.close", "noAccess");