Mozilla Firefox Customizing.

Discussion in 'General Software Discussion' started by PangingJr, Jul 26, 2004.

  1. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    My goal is to be able to use the browser only one toolbar on both normal and full screen mode and also to hide all the button and be able to show it when i really need to use it.
    i never use Back/ Forward/ Reload and Stop buttons anyway, i've found that i can just right click and get all these commands from the context menu, and i think it'll be faster than moving the mouse to toolbar and to click on those buttons.
    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]


    here are pics of the defualt setting for both normal window and full screen.

    [​IMG]

    [​IMG]



    -----------------------------------------------------------


    if you like to try this, here're the steps..

    1st you need to use the "Compact Menu" extension so install it, pls see D/L link below,
    then customize the Toolbars items,
    [​IMG]

    drag "Menu" or "Compact Menu" and drop it onto the Navigation Toolbar (Nav-bar) infront of the Back Arrow button,
    (at this point the default Menu Bar items (File, Edit, View...) will be concealed)
    then drag the "Bookmarks Toolbar Item" from the Bookmark Toolbar to the Nav-bar, drop it right after "Menu",
    [​IMG]

    then drag all of the buttons (icons) from the Nav-bar down to the Bookmark Toolbar default location,
    and drag the "Flexible Space" and the "Activity Indicator" from the Menu Bar, drop it onto the customization dialog box, this to get rid of all items and to make the default Menu Bar empty.
    [​IMG]

    and then click Done and close the customization dialog box and this's how it looks.
    [​IMG]


    To hide the entire Menu Bar add the below CSS rule to your "userChrome.css".

    Code:
    
    	/************************
    	* Hide the entire File Menu Bar
    	************************/
    #toolbar-menubar	{
    	display: none !important;
    }
    
    

    -----------------------------------------------------------


    Editing Configuration Files
    http://texturizer.net/firefox/edit.html#css

    * user.js - Used to change various preferences.
    * userChrome.css - Used to change the appearance of the browser.
    * userContent.css - Used to change the appearance of web pages.

    All these files are plain text files stored in your profile folder, and can be edited using a standard text editor. For example, Notepad or Texturizer on Windows and gedit or kate on Linux.


    -----------------------------------------------------------


    Use the "user.js" to change some of preferences to improve speed and performance..

    Firefox Tuning -
    http://forums.mozillazine.org/viewtopic.php?t=53650&highlight=speed+tweaks


    -----------------------------------------------------------


    Use the "userContent.css" to create your own custom CSS rules for blocking ads and more..
    http://www.gozer.org/mozilla/ad_blocking/


    Blocking Advertisement
    http://texturizer.net/firefox/adblock.html


    Better Ad Blocking for Mozilla, Netscape 7, and Safari
    http://www.floppymoose.com/


    -----------------------------------------------------------
    *update*

    Ad Blocking with Mozilla's Cookie Filtering - the "cookperm.txt" (a cookie permission file)
    for more info check out this site http://www.deftone.com/blogzilla/archives/ad_blocking.html


    -----------------------------------------------------------


    Mozilla Tips - Fun tips for your favorite browser
    http://www.mozillatips.com/


    Firefox Tips & Tricks -
    http://texturizer.net/firefox/tips.html


    -----------------------------------------------------------


    Some of good extensions...

    "Compact Menu" Ver.1.6.6
    Duplicates the menubar on the toolbar as a menu of menus.
    Compact Menu is an extension for the Mozillan Browser (Firefox) and Mail client (Thunderbird) that allows you to reorganize the menu options on the menu bar in such a way that the user has more horizontal space on the menu bar to add buttons or other options. It allows you to have one option called 'Menu' which acts as a drop-down list in which the normal menu items are shown in the order that they would appear on the menu bar. You can also choose to not display the word 'Menu' and use an icon instead.
    Author's Homepage and D/L - http://cdn.mozdev.org/compact/


    "Tabbrowser Extensions" (sometimes called Tabbed Browsing Extension)
    Ver.1.10.2004071201 for Netscape 7 & Mozilla & Firefox.
    Author's Homepage and D/L - http://white.sakura.ne.jp/~piro/xul/_tabextensions.html.en

    Note- This's one of the best extension for Mozilla, imo, it provides and controls alot of thing in Mozilla browsers but there're some known problems and known bugs, so pls read the section "known problems" from this page - http://white.sakura.ne.jp/~piro/xul/_tabextensions.html.en#problems


    "Super DragAndGo" Ver. 0.23
    Author's Homepage and D/L - http://s87609139.onlinehome.us/7001.html


    "Scrollbar Anywhere" Ver. 0.5
    Scrollbar Anywhere enables to scroll the page as if the scrollbar is under your mouse pointer. Just hold the right mouse button down and move the mouse.
    Author's Homepage and D/L - http://perso.wanadoo.fr/marc.boullet/ext/extensions-en.html

    My tip for this extension - Only use this extension, don't install other extension that controls your mouse movements, don't use the default "Autoscrolling", uncheck the option in Advanced/Browsing.
    after you install this extension, hold down your right mouse button then drag the mouse onto the exposed desktop to any end of the browser window and release then move the mouse back to scroll within the browser window.

    "External Application Buttons" Ver. 0.6.6
    Add buttons to launch applications from within Firefox.
    Author's Homepage - http://cgi29.plala.or.jp/~mozzarel/
    to D/L go to - [DIR] "externalapp/" - http://cgi29.plala.or.jp/~mozzarel/addon/firefox0_9/


    "DownloadWith" Ver.0.0.7
    DownloadWith is Mozilla/Firefox extension to download files with external programs like wget, prozilla, Downloader for X, Download Accelerator Plus and GetRight.
    Author's Homepage and D/L - http://downloadwith.mozdev.org/


    "Sort Bookmarks" Ver.0.5.1
    Author's Homepage - http://cgi29.plala.or.jp/~mozzarel/
    to D/L go to - [DIR] "sortbookmarks/" - http://cgi29.plala.or.jp/~mozzarel/addon/firefox0_9/


    "X" Ver.0.5 - D/L - http://texturizer.net/firefox/extensions/#x
    provides a toolbar button (which you can place wherever you wish via View > Toolbars > Customize... - it's labelled "Paranoia") from which you can quickly clear privacy sensitive data, specifically: history, form info, saved passwords, download history, cookies, and the cache (both disk and in memory cache).
    Clicking the button gives you a dialogue window from which you can select which data you want clearing.


    "Rewind/Fastforward Buttons" Ver.1.2.2004070802
    provides "rewind" and "fastforawrd" button to the toolbar, like Opera. You can go back/forward to the previous/next domain in the history with only one click.
    Author's Homepage and D/L - http://white.sakura.ne.jp/~piro/xul/_rewindforward.html.en



    -----------------------------------------------------------
     
    Last edited: Aug 2, 2004
  2. germanjulian

    germanjulian Back in London

    Joined:
    Jul 15, 2003
    Messages:
    1,797
    Likes Received:
    2
    Trophy Points:
    0
    cool. Though for navigation, reloading, new tabs, close tabs etc I use mouse gestures. Press right mouse button and hold and move mouse left the browser goes 1 page back. go up down and the tab closes. go up new tab. update.mozilla.org

    PS: Plus I cant change any of these things. It took me 1 week to teach my g/f to use mozilla I wont even try with mouse guestures ;)
     
  3. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    -----------------------------------------------------------


    More of the CSS rules to add to the userChrome.css is comimg later on for adjusting font, menus, layouts, browser appearance, this will include removing the Bookmarks Toolbar's icon and make it look same as the compact manu (just like the "Favorites" that you see on my browser),
    then you can move any bookmark items into it by using the "Bookmarks Manager".

    [​IMG]



    -----------------------------------------------------------
     
  4. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    create a new and separate "profile" for youe GF, let her use the default settings.
    adding -profilemanager or /p to the target line of the program shortcut,
    when start it you'll see this dialog box, then you can create another profile..

    [​IMG]
     
  5. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    [​IMG]
    [​IMG]

    here's the userChrome.css.
    Code:
    
    	/* Customizing Firefox to have every commands,
    	 * including a customized Bookmark Toolbar Folder (icon-only)	 
    	 * all stay within one toolbar and use a little space.
    	 * this required the Compact Menu extension. */	
    
    /* Place this file (userChrome.css) into your profile-directory/chrome/ */
    
    /* Do not remove this @namespace line -- it's required for correct functioning */
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    
    
    
    	/*******************************
    	* Hide the entire File menu bar:
    	********************************/
    #toolbar-menubar	{
    	display: none !important;
    }
    /**************************************************
    	* Bookmark Toolbar Folders: 
    	* change the bookmark toolbar folder icon,
    	* and use icons-only for the bookmark toolbar. 
    ***************************************************/
    
    toolbarbutton.bookmark-item[container="true"] {
    	list-style-image: url("favs-small.png") !important;
    	-moz-image-region: rect(0px 16px 16px 0px) !important;
    	margin-right: 6px !important;
    }
    toolbarbutton.bookmark-item	{
        padding: 0px !important;
    }
    .toolbarbutton-text	{
        display: none !important;
    }  
    
    and here's the icon to use with the "Bookmark Toolbar Folders",
    place this icon in same location of the userChrome.css.
    [​IMG]
     
    Last edited: Jul 31, 2004
  6. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    Code:
    	/**********************
    	* Miscellaneous stuff :
    	***********************/
    
    	/*******************
    	* Hide the throbber:
    	********************/
    #throbber-box	{
    	display: none !important;
    }
    	/******************
    	* Set font for all:
    	*******************/
    menubar,
    menubutton,
    menulist,
    menu,
    menuitem,
    textbox,
    toolbar,
    tree,
    tooltip,
    window	{
    /*	font-family: "MS UI Gothic", sans-serif !important;
    	color: black !important; 
    	font-size: 3.5mm !important; */
    	font-weight: 600 !important;	
    }
    
    	/***********************
    	* Customizing Menupopup:
    	************************/
    menupopup,
    popup	{
    	border: 1px solid ThreeDShadow !important;
    	border-color: #666666 !important;
    	-moz-border-left-colors: ThreeDShadow !important;
    	-moz-border-top-colors: ThreeDShadow !important;
    	-moz-border-right-colors: ThreeDShadow !important;
    	-moz-border-bottom-colors: ThreeDShadow !important;
    	padding: 1px !important;
    	background-color: #FFFFF9 !important; 
    	background-repeat: repeat-y !important;
    }
    menupopup > menu,
    popup > menu,
    menuitem	{
    	border: 1px solid transparent !important;
    }
    menubar > menu[_moz-menuactive="true"],
    menupopup > menu[_moz-menuactive="true"],
    menupopup > menuitem[_moz-menuactive="true"],
    popup > menu[_moz-menuactive="true"],
    menuitem[_moz-menuactive="true"]	{
    	border: 1px solid #0A246A !important;
    	background-color: #C1D2EE !important;
    	color: black !important;
    }
    menubar > menu[_moz-menuactive="true"][open="true"]	{
    	border: 1px solid #666666 !important;
    	background-color: #C1D2EE !important;
    	border-bottom-color	: #C1D2EE !important;
    }
    menubar > menu[disabled="true"][_moz-menuactive="true"],
    menupopup > menu[disabled="true"][_moz-menuactive="true"],
    menupopup > menuitem[disabled="true"][_moz-menuactive="true"],
    menuitem[disabled="true"][_moz-menuactive="true"]	{
    	border: 1px solid transparent !important;
    	background: transparent !important;
    	color: graytext !important;
    }
    menuseparator	{
    	margin-left: 20px !important;
    	margin-right: 0px !important;
    }
    	/***************************************
    	* Location bar (URL bar) and Search bar:
    	* set font, - more space - wider/higher
    	****************************************/
    #urlbar,
    #search-bar	{
    	-moz-appearance: none !important;
    	font-family: sans-serif, lucida sans unicode, lucida sans unicode !important;
    	font-size: 1.2em !important; 
    	color: black !important;
    	font-weight: 500 !important;
    	background-color: #FFFFF9 !important;
    	padding: 1px !important;
    	border-width: 2px !important;
    	margin-left: 3px !important;
    	margin-right: 5px !important;
    }
    #search-container	{ 
    	-moz-box-flex: 300 !important;
    }
    	/******************************
    	* Reduce/Add space around icons
    	*******************************/
    .toolbarbutton-1,
    .toolbarbutton-menubutton-button	{
    	padding: 2px 2px !important;
    }
    .toolbarbutton-1[checked="true"],
    .toolbarbutton-1[open="true"],
    .toolbarbutton-menubutton-button[checked="true"],
    .toolbarbutton-menubutton-button[open="true"]	{
    	padding: 4px 1px 1px 4px !important;
    	margin: 0px !important;
    }
    	/*********************************
    	* Progress bar/meter: change color
    	**********************************/
    progressmeter	{
    	-moz-appearance: none !important;
    	background-color: #FFFFF9 !important;
    	margin-top: 2px !important;
    }
    .progress-bar	{
    	-moz-appearance: none !important;
    	background-color: #B1C1DB !important;
    }
    	/****************
    	* Tabs, Tab-bar:
    	* set font, adjust space around tab text.
    	* hide All the tab icons, 
    	* - indicator, fav and default icons	
    	************************************/
    	.tab-text	{
    /*	font-family: "MS UI Gothic", sans-serif !important;
    	font-size: 3.1mm !important;
    	color: black !important;
    	font-weight: 500 !important; */
    	padding: 0px auto 2px 5px !important;
    	margin-top: 2px !important;
    	margin-left: 5px !important;
    }
    .tabbrowser-tabs .tab-icon	{
    	display: none !important;
    }
    tab {
    	height: 24px !important;
    	margin: 0px !important;
    }
    .tabbrowser-strip {
    	height: 27px !important;
    }
    /*add a border line to the tooltips*/
    .tooltip-label	{
    	border: 1px solid gold !important;
    }
    /*remove border on the sides of the window*/
    toolbox,
    #content,
    #status-bar	{
    	border: none !important;
    }
    
    note-- these CSS rules may or may not be used with other theme, since they all have their own rules, so reset the Firefox to use the default theme..
     
    Last edited: Jul 27, 2004
  7. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    change color to orange so the tab text will be easy to see when using 'show progress meter in tabs' of the TBE extensions, then add a B/G image and this should do it for now.
    [​IMG]
     
  8. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    adds colors for all toolbars and menus..
    [​IMG]


    Code:
    
    /* Themes - Use a background colors and/or images */
    
    menubar,
    menu,
    menupopup,
    popup,
    toolbox,
    toolbar,
    statusbarpanel	{
    	-moz-appearance: none !important;
    
    }
    
    window,
    dialog,
    wizard,
    page	{
    /* background: url("bg.gif") center !important; */
    	background-color: #DFD2C0 !important;
    
    }
    
    #nav-bar	{
    /* background: url("bg.gif") center !important; */
       background-color: #DFD2C0 !important;
    
    }
    
    #PersonalToolbar {
    /* background: url("bg.gif") center !important; */
    	background-color: #EBE2D2 !important;
    
    }
    
    statusbarpanel	{
    /* background: url("bg.gif") center !important; */
    	background-color: #DFD2C0 !important;
    
    }
    
    #urlbar,
    #search-bar	{
    	-moz-appearance: none !important;
    	background-color: #FEFFF5 !important;
    
    }
    
    	/*full screen controls*/
    
    #window-controls {
      	-moz-box-align: center !important;
      	padding: 0px 2px 0px 4px !important;
      	border-left: 2px solid !important;
      	-moz-border-left-colors: ThreeDHighlight ThreeDShadow;
    
    }
    
    /*sidebar controls*/
    
    #sidebar-title {
    /*	font-family: "MS UI Gothic", sans-serif !important;
    	color: black !important; 
    	font-size: 3.1mm !important; 
    	font-weight: 600 !important; */
       	padding: 1px 3px 2px 2px !important;
       	min-width: 120px !important;
       	min-height: 16px !important;
       	border: 1px solid gray !important;
       	text-align: center;
    /* 	background-image: url("bg.gif") !important; */
       	background-color: #EBE2D2 !important;
    
    }
    
    
    -----------------------------------------------------

    ***Add this CSS rules to your "userContent.css" for using color on the scrollbars***

    Code:
    /* Themes the scrollbar */
     
      	scrollbar, thumb {
        -moz-appearance: none !important;
    	background: url("bg.gif") !important;
    	background-color: #DFD2C0 !important;
        }
    
      	scrollbarbutton {
        -moz-appearance: none !important;
        background-color: #DFD2C0 !important;
        }
    
    
     
    Last edited: Jul 31, 2004
  9. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    Mozilla Suite is looking good with purple..
    [​IMG]

    Code:
    
    	/* Personal toolbar folders:
    	 * fix the Personal toolbar to be text-only.
    	 * - hide bookmark icons.
    	 * - set font and padding. */
    
    toolbarbutton.bookmark-item > .toolbarbutton-icon	{
    	display: none;
    
    }
    
    .bookmark-item[type="menu"] > .toolbarbutton-text	{
    /*	font-family: "MS UI Gothic", sans-serif !important;
    	font-size: 3.2mm !important;
    	font-weight: 600 !important;
    	color: black !important; *//*(remove comments - to set font family, color and size)*/
    	padding-left: 2px !important; 
    	padding-right: 2px !important;
    	margin-left: 4px !important;
    	-moz-appearance: none !important;
    
    }
    
    	/* Customizing Menupopup :*/
    
    menupopup,
    popup	{
    	border: 1px solid ThreeDShadow !important;
    	border-color: #666666 !important;
    	-moz-border-left-colors: ThreeDShadow !important;
    	-moz-border-top-colors: ThreeDShadow !important;
    	-moz-border-right-colors: ThreeDShadow !important;
    	-moz-border-bottom-colors: ThreeDShadow !important;
    	padding: 1px !important;
    	background-color: #F9F8F7 !important; 
    	background-repeat: repeat-y !important;
    
    }
    
    menupopup > menu,
    popup > menu,
    menuitem	{
    	border: 1px solid transparent !important;
    
    }
    
    menubar > menu[_moz-menuactive="true"],
    menupopup > menu[_moz-menuactive="true"],
    menupopup > menuitem[_moz-menuactive="true"],
    popup > menu[_moz-menuactive="true"],
    menuitem[_moz-menuactive="true"]	{
    	border: 1px solid #0A246A !important;
    	background-color: #B1B3DB !important;
    	color: black !important;
    
    }
    
    menubar > menu[_moz-menuactive="true"][open="true"]	{
    	border: 1px solid #666666 !important;
    	background-color: #B1B3DB !important;
    	border-bottom-color	: #B1B3DB !important;
    
    }
    
    menubar > menu[disabled="true"][_moz-menuactive="true"],
    menupopup > menu[disabled="true"][_moz-menuactive="true"],
    menupopup > menuitem[disabled="true"][_moz-menuactive="true"],
    menuitem[disabled="true"][_moz-menuactive="true"]	{
    	border: 1px solid transparent !important;
    	background: transparent !important;
    	color: graytext !important;
    
    }
    
    menuseparator	{
    	margin-left: 20px !important;
    	margin-right: 0px !important;
    
    }
    
    	/* Location bar (Url bar) and Search bar :
    	 * set font- family, weight, size and color
    	 * make the url bar higher */
    
    #urlbar {
    /* 	font-family: sans-serif, lucida sans unicode, lucida sans unicode !important;
    	font-size: 1.0em !important; 
    	font-weight: 500 !important;
    	color: navy !important; *//*(remove comments - to set font family, color and size)*/
    	background-color: #F9F8F7 !important;
    	padding: 2px !important;
    	margin-left: 10px !important;
    	border-width: 2px !important;
    	-moz-appearance: none !important;
    
    }
    
    	/* Reduce space surround icons on the Nav-bar */
    
    #nav-bar-inner	{
    	margin: 0px !important;
    
    }
    
    .toolbarbutton-1,
    .toolbarbutton-menubutton-button	{
    	padding: 2px !important;
    	-moz-appearance: none !important;
    
    }
    
    .toolbarbutton-1[checked="true"],
    .toolbarbutton-1[open="true"],
    .toolbarbutton-menubutton-button[checked="true"],
    .toolbarbutton-menubutton-button[open="true"]	{
    	padding: 4x 1px 1px 4px !important;
    	margin: 0px !important;
    	-moz-appearance: none !important;
    
    }
    
    	/* Change color of Progress bar and Progress meter :*/
    
    progressmeter	{
    	-moz-appearance: none !important;
    	background-color: #F9F8F7 !important;
    	margin-top: 2px !important;
    
    }
    
    .progress-bar	{
    	-moz-appearance: none !important;
    	background-color: #9D9FC2 !important;
    
    }
    
    	/* Hide Go, Window and Help. */
    
    menu[label="Help"],
    menu[label="Window"],
    menu[label="Go"]	{
    	display: none !important;
    
    }
    
    	/* Hide the animated throbber */
    
    #throbber-box	{
    	display: none !important;
    
    }
    
    	/* Hide the toolbar grippy */ 
    
    toolbargrippy	{ 
        display: none !important;
        -moz-appearance: none !important;
     
    } 
    
    
     
    Last edited: Jul 31, 2004
  10. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    Firefox's profile.....

    Firefox releases from version 0.9, Registry.dat has been replaced by "Profile.ini" as the anchor point for finding profiles. the file "Profile.ini" is an editable file.


    you may want to have a separate profile for each users,
    and/or for using a deference sets of an optimized files, user.js, userChrome/Content.css, bookmarks, histories, cookies, extensions, etc.
    note-- to make this worked when testing an extension, install it to your profile only, not in the program dir.

    or this can also be used on running more than one Firefox builds 'for testing'...

    Here're step by step of how to create a new profile by editing the file "Profile.ini",
    and create shortcuts to start Firefox with each profiles.

    the following must be done with Firefox closed,
    check to make sure its not running in the Taskmanager.

    1st step... backup your current profile (the whole profile folder).
    go to C:\Documents and Settings\< user ID >\Application Data\Mozilla.
    R-click on the folder 'Firefox' and add it to archive (zip or rar file format)
    note-- before you do this delete the browser "cache" to make the backup profile file smaller.

    [​IMG]

    step 2... tell Firefox to create a new (an another) profile on next start.
    go to C:\Documents and Settings\< user ID >\Application Data\Mozilla\Firefox.
    then open up the file "profile.ini" (you can also make a backup of this file before making the following changes),

    change the value on the line "IsRelative=1" to IsRelative=0

    [​IMG]

    save and close it, then start Firefox as you normally do.
    Firefox will start and create a new profile (a new profile folder with a random names - default.926, default.xxx). note-- you may have to re-start one more time if you previously answered to the import settings dialog box, or somehow it does not start successfully.

    in this pic shows the folder "default.926" as the newly created profile.
    and the folder "default.c0a" is the profile created on first installation.

    [​IMG]


    step 3... fix the "profile.ini" file to point for finding both profiles.
    go to C:\Documents and Settings\< user ID >\Application Data\Mozilla\Firefox.
    open up the profile.ini, then modify it as follow...

    [​IMG]


    step 4... create 2 shortcuts to start Firefox, using 'default' and another profiles.
    go to Firefox program folder, R-click on the firefox.exe and select Send To -> Desktop(create shortcut).

    then R-click on the newly created shortcut, add "-p default" (no "" when typing" to the 'Target:' line.
    redo this step but this one add "-p MyFx".

    [​IMG]

    [​IMG] [​IMG]


    note-- you cannot run both profiles at the same time.
    note-- to bring things back to previous stated, just remove the new profile folder and modify or replace the profile.ini with the one you backed up.

    note-- most of the problem with Firefox is commonly caused by profiles either corrupted profile or corrupted pointer, and sometimes are extensions related, i'd like to suggest you create a new profile each time you install a new build,
    this also means doing a clean un-install as well by removing the old profile folder... nothing to worry in registry nor elsewhere.
    only back up things that you like to save (like bookmarks file, user.js, userContent.css, userChrome.css, etc) then replacing these file after the installation.
     
    Last edited: Aug 2, 2004
  11. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    "or this can also be used on running more than one Firefox builds 'for testing'..."

    D/L the self-extracting zip file version such as an official branch or trunk builds which's avail nightly, or the third party/unofficial builds, once you get the file extract it into a folder, then rename the folder to anything you like, you can also place the folder anywhere, in the program files folder or on your desktop...
    then use above method to create a new profile and program shortcuts for each firefox build. this way you can remove any of the builds any time, remove the program folder then remove its profile folder, then revert all the changes in the file profiles.ini and the removing is done!.

    [​IMG]

    [​IMG]

    [​IMG]
     
  12. ChoGGi

    ChoGGi Well-Known Member

    Joined:
    Jun 24, 2002
    Messages:
    1,208
    Likes Received:
    1
    Trophy Points:
    48
    a couple of settings for application data\mozilla firefox\profiles\default\XXXXXXX.XXX\user.js (works for mozilla suite also)

    open it in notepad
    copy n paste (might want to change the first one if you use it)

    these were copied from
    http://texturizer.net/firefox/tips.html

    // good for easy bookmarks backup
    // Specify which bookmarks file to use:
    user_pref("browser.bookmarks.file", "C:\\mozback\\bookmarks.html");

    // Specify the amount of memory cache:
    // -1 = determine dynamically (default), 0 = none, n = memory capacity in kilobytes
    user_pref("browser.cache.memory.capacity", -1);

    // Click on throbber to go to Mozilla.org:
    user_pref("browser.throbber.url", "http://www.mozilla.org");

    // Put an end to blinking text!
    user_pref("browser.blink_allowed", false);

    // Force frames to be resizable
    user_pref("layout.frames.force_resizability", true);

    // By default, Firefox doesn't try to render a web page for 250 milliseconds, because it's waiting for data.
    user_pref("nglayout.initialpaint.delay", 0);

    // Enable pipelining:
    user_pref("network.http.pipelining", true);
    user_pref("network.http.proxy.pipelining", true);
    user_pref("network.http.pipelining.maxrequests", 100);

    // disable target="_blank" (open in same window):
    user_pref("browser.block.target_new_window", true);

    // Instead of annoying error dialog messages, display pages:
    user_pref("browser.xul.error_pages.enabled", true);

    // Make sure all pop-up windows are resizable:
    user_pref("dom.disable_window_open_feature.resizable", true);

    // Make sure all pop-up windows are minimizable:
    user_pref("dom.disable_window_open_feature.minimizable", true);

    // Always display the menu in pop-up windows:
    user_pref("dom.disable_window_open_feature.menubar", true);

    // Always display the Navigation Toolbar in pop-up windows:
    user_pref("dom.disable_window_open_feature.location", true);

    // Always display the scrollbar in pop-up windows:
    user_pref("dom.disable_window_open_feature.scrollbars", true);
     
  13. ChoGGi

    ChoGGi Well-Known Member

    Joined:
    Jun 24, 2002
    Messages:
    1,208
    Likes Received:
    1
    Trophy Points:
    48
    a couple of settings for application data\mozilla firefox\profiles\default\XXXXXXX.XXX\chrome\userContent.css (works for mozilla suite also)

    open it in notepad
    copy n paste (might want to change the first one if you use it)

    these were copied from
    http://texturizer.net/firefox/tips.html


    /* Change cursor for links that open in new window */
    :link[target="_blank"], :visited[target="_blank"],
    :link[target="_new"], :visited[target="_new"] {
    cursor: crosshair;
    }



    /* Change cursor for JavaScript links */
    a[href^="javascript:"] {
    cursor: move;
    }



    /* Stop those <marquee> tags! */
    marquee {
    -moz-binding : none !important;
    display : block;
    height : auto !important;
    }



    /* Windows Classic (9x/Me/2000) style Menus */
    menupopup, popup {
    border: 2px solid !important;
    -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
    -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
    padding: 1px !important;
    }
    menubar > menu[disabled="true"] {
    border: 1px solid transparent !important;
    }
    menubar > menu[_moz-menuactive="true"] {
    border-top: 1px solid ThreeDHighlight !important;
    border-right: 1px solid ThreeDShadow !important;
    border-bottom: 1px solid ThreeDShadow !important;
    border-left: 1px solid ThreeDHighlight !important;
    background-color: transparent !important;
    color: MenuText !important;
    }
    menubar > menu[_moz-menuactive="true"][open="true"] {
    border-top: 1px solid ThreeDShadow !important;
    border-right: 1px solid ThreeDHighlight !important;
    border-bottom: 1px solid ThreeDHighlight !important;
    border-left: 1px solid ThreeDShadow !important;
    }



    /* Change color of active tab */
    tab{
    -moz-appearance: none !important;
    }
    tab[selected="true"] {
    background-color: rgb(222,218,210) !important;
    color: black !important;
    }



    /* Change color of normal tabs */
    tab:not([selected="true"]) {
    background-color: rgb(200,196,188) !important;
    color: gray !important;
    }



    /* Remove the close button on the tab bar */
    .tabs-closebutton {
    display: none !important;
    }



    /* Remove the Go and Help menus
    (These are just examples. Try changing "Go" to "Edit" or "Bookmarks") */
    menu[label="Go"], menu[label="Help"] {
    display: none !important;
    }


    /* Remove extra padding from the Navigation Bar */
    .toolbarbutton-1, .toolbarbutton-menubutton-button {
    padding: 2px 3px !important;
    }
    .toolbarbutton-1[checked="true"], .toolbarbutton-1[open="true"],
    .toolbarbutton-menubutton-button[checked="true"],
    .toolbarbutton-menubutton-button[open="true"] {
    padding: 4px 1px 1px 4px !important;
    }
     
  14. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    for new Mozilla users, there are typically two .CSS files that you can use for customizing Mozilla/Firefox..
    make sure that when adding any CSS rule/code to the files, add it to the right user files, otherwz the browser may not work as the way you intended..

    - " userChrome.css " - Used to change the appearance of the browser.

    - " userContent.css" - Used to change the appearance of web pages.
     
  15. heebrewhammer23

    heebrewhammer23 New Member

    Joined:
    Sep 21, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Menu Colors

    Recently I became heavily enamoured with WindowBlinds Longhorn build 4501 skin through a friend and adore it. But when I see how great IE looks compared to Firefox, it makes me furious. Even more so, the menu font in Firefox is grey and Longhorn's interface is grey!

    The tabbed color of (bolded) black is bearable. But grey menus? No way!

    I need help on changing the File, Menu, View, etc. to white or some acceptable color (maybe even with a shadow/dropdown) to make it viewable!

    P.S. : If this can be done with a Longhorn base Firefox theme, that too would be nice. I've been unable to find one that matches the look of the skin I found or one that can change the colors of the menus

    [edit] to be a bit more clear, I need someone to help me with the coding half.

    I browsed through tons of fourms and articles and just feel more the stupider for not understanding it all. I need to get to sleep.
     
  16. PangingJr

    PangingJr Member

    Joined:
    Mar 14, 2003
    Messages:
    5,989
    Likes Received:
    56
    Trophy Points:
    0
    okay, a few problems that i can see now are i don't use window-blinds nor can't think of how the LH theme looks like lol, i mean the colors of the menu bars and all, so if you can get a pic of the browser windows and post or if it's a theme for Firefox then give me a D/L link for the that theme, and i'll see if i can help you.

    take a screenshot of the window when popping out the file menu item and the option dialog, so i can see all the colors..
    something likes this...
    [​IMG]
     
  17. ChoGGi

    ChoGGi Well-Known Member

    Joined:
    Jun 24, 2002
    Messages:
    1,208
    Likes Received:
    1
    Trophy Points:
    48
    you can get cutemenu
    http://cute.mozdev.org/
    it changes menus to white and adds icons.
    (rightclick, hold down shift and move mouse for options.)
    or you can edit the menu background colour in cutemenu.jar in your documents and settings\username\application data\mozilla\firefox\profile\randomprofilename\chrome. extract it with winrar (its just a renamed zip), then you can muck around in the two skin folders (default and officeXP-theme, "CuteMenus Themes" is for changing icons).

    edit:btw welcome to dh :)
     
  18. ChoGGi

    ChoGGi Well-Known Member

    Joined:
    Jun 24, 2002
    Messages:
    1,208
    Likes Received:
    1
    Trophy Points:
    48
    tweaked google search (turns off safesearch and set results to 50)
    open \Mozilla (firefox)\searchplugins\google.src

    replace with this (in between **)
    ***************************************************


    # Mozilla/Google plug-in by amitp+mozilla@google.com

    <search
    name="Google"
    description="Google Search"
    method="GET"
    action="http://www.google.ca/search"
    update="http://www.google.com/mozilla/google.src"
    updateCheckDays=1
    queryEncoding="utf-8"
    queryCharset="utf-8"
    >

    <input name="q" user>
    <input name="sourceid" value="mozilla-search">
    <inputnext name="start" factor="10">
    <inputprev name="start" factor="10">
    <input name="ie" value="utf-8">
    <input name="oe" value="utf-8">
    <input name="num" value="50">
    <input name="safe" value="off">

    <interpret
    browserResultType="result"
    charset = "UTF-8"
    resultListStart="<!--a-->"
    resultListEnd="<!--z-->"
    resultItemStart="<!--m-->"
    resultItemEnd="<!--n-->"
    >
    </search>



    ****************************************************
    end copy
    you can change
    <input name="num" value="50">
    the 50 to 100 if you want more results
     
  19. ChoGGi

    ChoGGi Well-Known Member

    Joined:
    Jun 24, 2002
    Messages:
    1,208
    Likes Received:
    1
    Trophy Points:
    48
    disable two second delay before install of xpi (plugins)
    security.dialog_enable_delay
    change to 0

    or add (create blank if it isnt there)

    user_pref("security.dialog_enable_delay", 0);

    to
    Documents and Settings\username\Application Data\Mozilla\Profiles\default\XXXXXXXX.slt\user.js
     

Share This Page

visited