Tam Firefox: Firefox Profile Essence Troquetting Firefox: Firefox Profile Essence Skills About Firefox Many skills need to edit the Mozilla Firefox configuration file. There are three profiles that you should know: user.js - used to change Various options. Userchrome.css - Used to change the appearance of the browser. UserContent.css - Used to change the appearance of the web page. All of these files are plain text files, stored in your configuration folder, and you can use any one Standard editors to edit them, such as: Innoters in the Windows system or the gedit or kate configuration folder in the Texturizer and Linux systems Before you start configuring your files, you should know how to find the "configuration folder" The configuration folder is somewhere in your hard drive for Mozilla Firefox places where all your personal settings are stored. In the Windows 95/98 / Me system, this folder is usually: C: / Windows / Application Data /Phoenix/profiles/default/xxxxxxx.slt/, XXXXXXXX is an 8-bit random number. Open the C: / Windows / Application Data / Phoenix / Profiles / This folder is OK, and the other things are at a glance. In the Windows 2000 / XP system, this path is usually:% appdata% / phoenix / profiles / default / xxxxxxxx.slt /. Under Linux systems, the path is: ~ / .phoenix / default / xxxxxxx.slt. In Macos X Under the system, the path is: ~ / library / phoenix / profiles / default / xxxxxxx.slt. Note: Mozilla Firefox allows not only one user, of course, not only one configuration file. The path in the above example refers to the default configuration file, This file is automatically created by you first starting Mozilla Firefox. Using the Profile Manager you manage any more profiles. Under the Windows 2000 / XP system, the variable% AppData% is a path to the Application Data path. A short message. When using this variable, just enter% AppData% in the address bar of the resource manager and then press EN Ter is OK. You will be in real folders, in general, may be: c: / documents and settings / [user name] / application data. user.js This file is a major configuration file for Mozilla Firefox Located in your configuration folder. The default situation does not exist, then you must create it before you join your configuration. Windows users: If you know how to create a file, skip one. Created in you Before the file, you must confirm it, you can see the extension of the file. Start the resource manager (click on my computer on the desktop) and select: File> Tools> Folder Selection .... Click to view the tab , Then unwind the extension option to hide known file types. Now, return to your configuration folder, then select File> New>
Text file. The default name is the new text file .txt files appear. Change the name to user.js (click OK when the warning box appears). Linux users: If you are using the Linux system, I assume you know If you create a new file. Create a file name in your configuration folder. You can enter the parameter option in the user.js by entering the About: Configenter in the address bar. You will be You see a list of all available parameter options in Mozilla Firefox (most of which are imported from mozilla, some are not used, and no removal). Double-click on a parameter option to change its value. You make changes Save Now in the file prefs.js that is automatically created by Mozilla Firefox. Userchrome.css This file is used to set the display rules for each element on the Mozilla Firefox user interface, and the file location Your configuration folder is a child named chrome. In the folder. Like the user.js file, this file does not exist by default, you have to create it before joining your options. However, the default is an example file, name is Userchrome-Example. CSS. Basically, you may be renamed this file, which is to delete the -example section. UserContent.css This file is used to set the display rule of the web content, it also positions the Chrome under the configuration folder. In the subfolder. Like the USER.JS file by default, this file does not exist before you set up your option. You have to create it. Like the userchrome.css file, one example file is UserContent- EXAMPLE.CSS. Basically, you will rename a file, that is, the rear -example section is deleted. Tips & Skills below the various techniques below, most of you want to edit the configuration file, if you are not familiar with basic files , The folder method, it is recommended that you do not modify it, this page is arranged according to the importance of skills, divided into 4 partial browser appearance with Windows XP menu If you use the system is Windows XP and want to use the default menu type, put the following Code is added to userchrome.css file: / * make menus xp style * / menupopup, popup {border: 1px solid threedshadow! Import; -Moz-bo ! Rder-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: Menu important;} menubar> menu {border:!! 1px solid transparent important; padding: 2px 5px 2px 7px important; margin:!! 0 important;} menubar> menu [_moz-menuactive = "true"] {background-color: highlight! important; color: highlighttext! import;} Unfortunately with classic Windows (9x / mE / 2000) menu is that the default menu type is Windows XP and the original old version of Windows3D appearance Comfort, if you want Windows classic look,
Add the following code to userchrome.css file: / * Windows Classic (9x / me / 2000) style menus * / menupopup, popup {border: 2px solid! Important; -moz-border-top-colors: threedlightshadow threedhanglight; - 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 S Olid threedshadow! import; The following code is added to userChrome.css file: / * Use a background image for the toolbars: (Substitute your image file for background.gif) * / menubar, toolbox, toolbar, .tabbrowser-tabs {background-image: url ( "Background.gif")! important; background-color: none! important;} You can put the picture in the same directory as the userchrome.css file. The picture format can be any format supported by Mozilla Firefox.
Make the dynamic tab easier to distinguish the dynamic tab and the already opened tab easily (through color) to add the following code to, userchrome.css file: / * change color of active tab * / tab [ selected = "true"] {background-color: rgb (222,218,210) important; color:! black important;!} / * Change color of normal tabs * / tab {background-color:! rgb (200,196,188) important; color: gray Important;} Do not use bold text on dynamic tags If you don't want to use bold on dynamic tab, plus the code to userchrome.css file: / * make the active tab easier to distinguish: * / tab [Selected = "True"] {font-weight: Normal! Important;} Delete the "Close" from the tab bar You can delete the "Close" button from the tab, add the following code to Userchrome.css: / * Remove The Close Button On The Tab Bar * / .tabs-CloseButton {Display: None! Important;} You can still close the tab, right-click tab Select "Close Tag" or press Ctrl W Remove items from the Main Menu Some people in order to save horizontal space I like to put the toolbar icon menu, add the following code to R Userchrome.css: / * Remove the go and help menus * / menu [label = "go"], menu [label = "help"] {display : None! important;} Change window icon Mozilla Firefox defaults not to use itself icon but the Mozilla icon, in some systems, system icons are used, if you want to use your own icon, follow the following methods to enter you to install Mozilla Firefox directory (eg > C: / Program Files / Firef The subdirectory chrome under ox /) Create a subdirectory ICONS, generated in it, generated subdirectory default. Complete directory is now c: / program files / firefox / chrome / icons / default / select the icon you want to use (in Windows Platform with .ico file, put it in the Linux platform XPM file) to this directory is renamed R and main-window. [File Type], Eg Main-Window.ico in Windows and in Linux Main-Window.xpm in Addition to the the main window, you can also change the icon on the Bookmark Manager and JavaScript Console. the icon names are bookmark-window. [filetype] and jsconsoleWindow. [filetype], respectively. displayed on the right sidebar to display the sidebar on the right rather than Add the following code to the Userchrome.css file: / * Place The sidebar on the right edge of the window * / window> HBOX {Direction: RTL;} Window> hbox> * {Direction: LTR;
} Changing the width search bar of the search bar is relatively small by default, you can specify its width with a specific number of pixels, the following code is added to the UserChrome.css file: / * make the search box flex wider * / # search-container { -Moz-Box-Flex: 400! important;} Open External Links in new windows or tabs If there are external programs to open the web page in the default browser, Mozilla Firefox opens it with a few existing windows, which means browser May jump from a page you are browse, if you don't want this happen, add the code to user.js file: // stop reusing active windows: user_pref ("Advanced.System.supportdeexec", false); want to open new What should I do if the tab is not the window? What About New Tabs INSTEAD OF WINDOWS THEN? If You Prefer Tabs Instead of Windows, you must have TabBrowser Extensions, which is a powerful label browsing extension, after installation, press the following instructions to make not forgetting the above The code is added to the user.js file. Select Tools "Options" Extensions, select the tabbliced browse click Settings. Expand Directory List Select the top subdirectory in "Window" Mode drop-down list, select "Use multiple browsers "Now open the new tab open when the external program opens the link.
Make the tag column to display when only one tab will be hidden. To make the tag column to display, add the code to R user.js file: // disable Tab Bar AutoHide Feature: user_pref ("Browser.tabs .autohide ", pay); When you only have a tab, you can still cancel target =" _ blank "Mozilla Firefox by clicking" Close "x hidden tab, with a built-in blocking filter, but when Use target = "_ blank" or invalid target = "_ new" to open the pages, to open the link in order to open the link in the same window, plus the code to f User.js file: // disable target = "_ blank" (Open) In Same Window: User_pref ("Browser.block.target_new_window"; Close Image Auto Zoom Fun When this feature is turned on, it reduces the image to make an image smaller than the image. In order to close this Function plus code to user.js file: // Turn Off Automatic Image Resizing: user_pref ("Browser.enable_Automatic_Image_RESIZING", FALSE); Mozilla Firefox is not like IE when the connection fails when the end is fails. Error page, indicating an annoying error message, to display the error page instead of error message, plus the code to User.js file: // instead of annoying error Dialog Messages, Display Pages: user_pref ("Browser.xul.Error_Pages .enabled ", true);. When downloading the file with the download manager instead of the progress window, Mozilla Firefox defaults the schedule, if you download multiple files at the same time, these windows will mess up your desktop, and the download manager is not Will add the code to the User.js file to download the download manager: // instead of download Progress Windows, Use the sidebar: user_pref ("Browser. Download.opensidebar ", true); user_pref (" Browser.Download.UseProgressDialogs ", False); With a good input lookup feature Find as you type feature, a new feature of Mozilla's new introduction, there are some hidden features that suits you, plus The following code to RUSER.JS file: // Find as you type configuration: // set this pref to false to disable find as you type: user_pref ("accessibility.typeaheadfind", true); // if you set this Pret To true, typing can automatically start Find As you Type // If false (default), you must hit / (find text) or '(find links) before your search user_pref ( "accessibility.typeaheadfind.autostart", true)..;
// Set this pref to false if you want Find As You Type to search normal text too: user_pref ( "accessibility.typeaheadfind.linksonly", true); // Set this pref to true if you require that the link starts with the entered text: user_pref ( "accessibility.typeaheadfind.startlinksonly", false); // This is the time in milliseconds for the Find As You Type to stop watching for keystrokes: user_pref ( "accessibility.typeaheadfind.timeout", 3000); smooth scrolling Mozilla Firefox 0.6 default has a smooth scrolling feature, to turn this feature, plus the code to scrollinguser.js file: // smooth scrolling (true = on, false = off): user_pref ("General.smoothscroll" , TRUE); Prohibiting other JavaScript window features Mozilla Firefox has some options to determine that Scripts can be used in the window, these options are in the "Tool" option "Web Special Effect", this option does not include all special effects, and others Some effects may be used: // More DOM / JavaScript options // 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 M enu 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); use Netscape 6 / 7 or Mozilla bookmarks If you are using Netscape 6/7 or Mozilla, you can use these bookmarks in Mozilla Firefox. All bookmarks are saved in a file called Bookmarks.html, for example, if you want to use Netscape 7 in Firefox 7 Bookmark, plus code to user.js file: // specify which bookmarks file to use: user_pref ("browser.bookmarks.file", "c: / path to netscape profile / bookmarks.html"; Remember to use Two backslashes for the path separators if you '
RE Using Windows, EG C: /Path/bookmarks.html Instead of C: /Path/bookmarks.html. Change the search mode of the address bar By default, enter the keyword in the search bar. Press Enter, will execute a B "i ' M Feeling Lucky search, if you want to use a standard search mode, add the code to the code to, user.js file: // Change to Normal Google Search: user_pref ("Keyword.URL", "http://google.com / search? btng = Google Search & q = "); of course, you can change the search engine by changing a specific string, the default is:" http://www.google.com/search?btni=i'm feeling lucky&q = ". Prohibition of bookmark icon You can disable the bookmark icon from displaying the following code to user.js file: // disable bookmark icons user_pref (" browser.chrome.site_icons ", false); user_pref (" browser.chrome.favicons " , False); Change the throbber URL When you click Throbber, the browser will link www.mozilla.org. This can change, plus the code to user.js file: // Click on throbber to go to mozilla firefox Help: User_pref, "http://texturizer.net/firefox/"); not in the address bar, save URLS Mozilla Firefox Allows you to enter the address does not appear in the drop-down menu of the address bar, this can Protect your privacy, web appearance prohibiting ads from advertising is annoying, the following code can block most of the advertisements, because this code is longer to other pages, Separate Page. You may not want to see it. The above flashes. In order to prevent it, add the code to user.js file: // put an end to blinking text! User_pref ("Browser.blink_a LLOWED, FALSE; Prohibition of "Marquee" tab Some websites with rolls. If you don't use it, add the following code to ban it, add it to usercontent.css file: / * Stop Those
This prompt will change the mouse when linking, execute a javascript command. Add to userContent.css file: / * Change Cursor for Links That Open in new window * /: link [target = "_ blank"],: visited [target = "_blank"],: line [target = "_ new"]: visited [target = "_ new"] {CURSOR: Crosshair;} This prompt will change the mouse when the mouse is linked, execute a javaScript command. Add to UserContent.css file: / * Change Cursor for JavaScript links * / a [href ^ = "javascript:"] {CURSOR: Move;} Other prompts to change the web page language Some websites offer versions of multi-language, you can press priority Sequentially select the language, change the priority order, you have to know the language code of the language code, such as Swedish code is SV, the following example is one of User.js. : // Change Language To Swedish ("INTL.ACCEPT_LANGUAGES", "SV, En, EN-US"); Note: A request field in the option window is used to store this Options. Select and copy a stand-alone table unit When you press Ctrl, you can choose Table unit. J You can select multiple table units Once you choose to select text, you can copy and paste your selection. Acceleration web page Display Mozilla Firefox defaults not to display the page at 250 milliseconds because it is waiting for data. If you add the following code to the user.js file, Mozilla Firefox immediately displays the web page, even if there is no completed data its disadvantages are in a slow Because "reflow" on the machine makes the entire page load time.