//
// Akkana's personal prefs which seamonkey shouldn't overwrite
//

// Silly Ubuntu turns off middleclick load!
user_pref("middlemouse.contentLoadURL", true);

// Force frame resizability
user_pref("layout.frames.force_resizability", true);

// Make backspace not go back to the previous page.
// See bug 219203 and bug 262905
user_pref("browser.backspace_action", 2);

// Override the default user-agent string:
user_pref("general.useragent.venfor", "Firefox/Kitfox");
//user_pref("general.useragent.override", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0; hi, Mom) Gecko/20020604");
//user_pref("general.useragent.override", "Mozilla/5.0 (Linux: Penguins Rule!) Gecko blah blah");

// Use google for keyword searches:
user_pref("keyword.URL", "http://www.google.com/search?q=");

// Show JS warnings:
user_pref("javascript.options.strict", true);

// Image animation: normal, once, none
user_pref("image.animation_mode", "none");

// Turn off the obnoxious download manager:
//user_pref(("browser.downloadmanager.behavior", 1);

// Disable blinking text:
user_pref("browser.blink_allowed", false);

// Enable printing from print preview, so you don't have to do
// page setup, dismiss, print, page setup, dismiss to get one
// single landscape mode printout.
user_pref("print.whileInPrintPreview", true);

// Always start up with printing set to portrait.
// That way, I don't have to remember to run Print Setup again
// every time I want to print one page in landscape mode.
// Unfortunately, you have to do this for every printer that's registered.
// To find out which orientation is which for each printer,
//    grep orientation user.js | grep name
user_pref("print.printer_CUPS/Brother.print_orientation", 0);
user_pref("print.printer_CUPS/Epson.print_orientation", 0);

// Disable the blinking cursor too, while we're at it:
// unfortunately this makes the cursor invisible a lot of the time too.
user_pref("ui.caretBlinkTime", 0);

// Set the submenu delay to be really long.
// This means that menus will stay posted until I click somewhere,
// making them behave more like Motif menus instead of un-posting
// whenever my mouse strays one pixel off the menu or cuts
// across the border between a menu and a submenu:
// This worked in the suite but not in Firefox.
//user_pref("ui.submenuDelay", 7000);

// Browser background color, because the colorpicker is too coarse:
user_pref("browser.display.background_color", "#E8FFF8");

user_pref("browser.display.use_system_colors", false);

// Set select background for text widgets:
user_pref("ui.textSelectBackground", "green");
// Not clear when widgetSelectBackground ever gets called: let's find out.
user_pref("ui.widgetSelectBackground", "orange");

// Don't prefetch, what a waste of bandwidth
user_pref("network.prefetch-next", false);

// Guard against a security bug:
// http://seclists.org/fulldisclosure/2007/Feb/0340.html
user_pref("capability.policy.default.Location.hostname.set", "noAccess");

// Make firefox2 tab preferences more livable:
user_pref("browser.tabs.closeButtons", 3);
user_pref("browser.tabs.tabMinWidth", 1);
user_pref("browser.tabs.selectOwnerOnClose", false);

// Keep the browser from stealing focus when it opens a new tab:
// http://labnol.blogspot.com/2006/07/secret-firefox-trick-prevent-browser.html
user_pref("browser.tabs.loadDivertedInBackground", true);

