diff options
Diffstat (limited to 'files/zh-cn/mozilla/同时使用多个相互独立的火狐浏览器/index.html')
-rw-r--r-- | files/zh-cn/mozilla/同时使用多个相互独立的火狐浏览器/index.html | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/files/zh-cn/mozilla/同时使用多个相互独立的火狐浏览器/index.html b/files/zh-cn/mozilla/同时使用多个相互独立的火狐浏览器/index.html deleted file mode 100644 index ab77b18752..0000000000 --- a/files/zh-cn/mozilla/同时使用多个相互独立的火狐浏览器/index.html +++ /dev/null @@ -1,123 +0,0 @@ ---- -title: 同时使用多个相互独立的火狐浏览器 -slug: Mozilla/同时使用多个相互独立的火狐浏览器 -translation_of: Mozilla/Firefox/Multiple_profiles ---- -<p>{{ draft() }}</p> -<p>火狐浏览器的配置文件是用户在浏览器中的设置、自定义、个性化内容的集合。你可以在这个连接中看到它的详细内容: <a class="external" href="http://support.mozilla.org/kb/Profiles" title="http://support.mozilla.org/kb/Profiles">Profiles on Mozilla's end-user support site</a>.</p> -<h2 id="为什么要拥有多个配置文件">为什么要拥有多个配置文件</h2> -<p>不同的家庭成员可能希望使用不同的配置文件。这样他们的书签设置和插件就可以区分开来。</p> -<p>Web developers might want a secondary profile for testing websites, apps, or other projects on different Firefox channels. For example, you might want to have the Firebug add-on installed for Web development, but not for general-purpose Web browsing. While using the Nightly channel, you may encounter some add-ons that have become temporarily incompatible with new API changes, until the add-on developer has a chance to update them. You can remove such add-ons from your profile for Nightly use, while keeping them for use with other profiles.</p> -<p>For QA, testing, and bug triaging contributors, you may want to have multiple development versions of Firefox installed, each with its own profile. Creating new profiles for testing can keep you from losing your preferences, bookmarks, and history. It takes some time to set up a new profile, but once it is complete, all of your Firefox versions will update separately and can be run simultanesouly.</p> -<h2 id="可用的浏览器开发通道">可用的浏览器开发通道</h2> -<p>There are four available browser channels, each at a different level of stability and development. The four channels are <a class="link-https" href="https://www.mozilla.org/en-US/firefox/new/" title="Firefox Stable">Release</a>, <a class="link-https" href="https://www.mozilla.org/en-US/firefox/beta/" title="Firefox Beta">Beta</a>, <a class="link-https" href="https://www.mozilla.org/en-US/firefox/aurora/" title="Firefox Aurora">Aurora</a>, and <a class="external" href="http://nightly.mozilla.org/" title="Firefox Nightly">Nightly</a>. The Release channel is recommended for most users, as it is the "official release" channel. However, for those more adventurous, you can try one of the other three channels to see what is coming in Firefox and play around with emerging features. The Beta channel contains the features that are expected to be in the next release of Firefox and are in final stages of testing. Aurora contains experimental features, which are not yet at beta quality. Nightly contains the latest code from Firefox developers and is the least stable channel.</p> -<h2 id="第三方工具"><span class="web-item">第三方工具</span></h2> -<p>In addition to the built-in Profile Manager and the external Profile Manager, there are a few third-party tools that make working with multiple profiles easy:</p> -<h3 id="Mac_OSX">Mac OSX</h3> -<ul> - <li><a href="http://davemartorana.com/multifirefox/">Multifirefox</a> by Dave Martorana</li> -</ul> -<h2 id="配置文件管理器">配置文件管理器</h2> -<p>{{ Note("On all operating systems, before you can start the Profile Manager, Firefox must be completely closed.") }}</p> -<p><strong>These instructions are tentatively going away in favor of a new profile manager. You can find more details at <a href="/en/Profile_Manager" title="en/Profile_Manager">Profile Manager</a></strong></p> -<h3 id="在Windows中启动配置文件管理器">在Windows中启动配置文件管理器</h3> -<h4 id="Windows_XP">Windows XP</h4> -<ol> - <li>Click the Start button</li> - <li>Click "Run"</li> - <li>Type "firefox -ProfileManager"</li> -</ol> -<h4 id="Windows_Vista7">Windows Vista/7</h4> -<ol> - <li>Click the Start button</li> - <li>Click the search bar at the bottom.</li> - <li>Type "firefox -ProfileManager"</li> -</ol> -<h4 id="Windows_88.1">Windows 8/8.1</h4> -<ol> - <li>Press "Windows + R" on your keyboard.</li> - <li>Type "firefox -ProfileManager".</li> -</ol> -<p>If the Profile Manager window does not open, Firefox may have been running in the background, even though it was not visible. Close all instances of Firefox or restart the computer and then try again.</p> -<h3 id="在Linux中启动配置文件管理器">在Linux中启动配置文件管理器</h3> -<p>If Firefox is already included in your Linux distribution or if you have installed Firefox with the package manager of your Linux distribution:</p> -<ol> - <li>At the top of the Firefox window, click on the File menu and select Quit.</li> - <li>In Terminal run:<br> - firefox --ProfileManager</li> -</ol> -<p>If the Profile Manager window does not open, Firefox may have been running in the background, even though it was not visible. Close all instances of Firefox or restart the computer and then try again.</p> -<h3 id="在Mac_OSX中启动配置文件管理器">在Mac OSX中启动配置文件管理器</h3> -<p>Use the following tutorial until someone can test and step-by-step on a mac directly. <a class="link-https" href="http://sonnygill.net/mac/mac-multiple-firefox-profiles/"> Easily Run Multiple Firefox Instances on a Mac</a>.</p> -<h3 id="创建配置文件">创建配置文件</h3> -<p>These instructions should be the same for all operating systems.</p> -<ol> - <li>To start the Create Profile Wizard, click "Create Profile..." in the Profile Manager.</li> - <li>Click Next and enter the name of the profile. Use a profile name that is descriptive, such as your personal name. This name is not exposed on the Internet.</li> - <li>You can also choose where to store the profile on your computer. To select storage location, click Choose Folder....</li> - <li>{{ Note("If you choose your own folder location for the profile, select a new or empty folder. If you choose a folder that isn't empty and you later remove the profile and choose the \"Delete Files\" option, everything inside that folder will be deleted.") }}</li> - <li>To create the new profile, click Finish.</li> -</ol> -<h3 id="删除配置文件">删除配置文件</h3> -<ol> - <li>In the Profile Manager, select the profile to remove, and click Delete Profile....</li> - <li>Confirm that you wish to delete the profile: - <ul> - <li>Don't Delete Files removes the profile from the Profile Manager yet retains the profile data files on your computer in the storage folder, so that your information is not lost. "Don't Delete Files" is the preferred option because it saves the old profile's folder and allows you to recover the files to a new profile.</li> - <li>Delete Files removes the profile and its files, including the profile bookmarks, settings, passwords, etc. {{ warning("If you use the \"Delete Files\" option, the profile folder and files will be deleted. This action cannot be undone.") }}</li> - <li>Cancel interrupts the profile deletion.</li> - </ul> - </li> -</ol> -<h3 id="重命名配置文件">重命名配置文件</h3> -<ol> - <li>In the Profile Manager, select the profile you want to rename, and then click "Rename Profile".</li> - <li>Enter a new name for the profile and click on OK.</li> - <li>{{ Note("The folder containing the files for the profile is not renamed. ") }}</li> -</ol> -<h2 id="可用选项">可用选项</h2> -<h3 id="Work_Offline">Work Offline</h3> -<p>Choosing this option loads the selected profile and starts Firefox offline. You can view previously viewed web pages and experiment with your profile.</p> -<h3 id="Don't_ask_at_startup">Don't ask at startup</h3> -<p>If you have multiple profiles, Firefox prompts you for the profile to use each time you start Firefox. Select this option to allow Firefox to load the selected profile without prompting at startup.</p> -<p>{{ Note("To access other profiles after selecting this option, you must start the Profile Manager first.") }}</p> -<h2 id="Using_the_profiles">Using the profiles</h2> -<h3 id="Windows">Windows</h3> -<p>If you want to have the profile manager to pop up each time you start Firefox, so you can choose a profile, you will need to edit the "Target" of the launch icon. To do this:</p> -<ol> - <li>Right click the icon and choose "Properties".</li> - <li>When the properties dialog box pops up, you should see a "Target" text field that you can edit, and it should show the current file path.</li> - <li>After the closing quote, add "-ProfileManager"</li> - <li>Click Ok.</li> -</ol> -<p>Now whenever you double click that icon, the profile manager should appear, allowing you to choose which profile you'd like to use.</p> -<p>If you want individual icons to launch specific profiles, you will need to edit the "Target" of each icon. To do this:</p> -<ol> - <li>Right click the icon and choose "Properties".</li> - <li>When the properties dialog box pops up, you should see a "Target" text field that you can edit, and it should show the current file path.</li> - <li>To permanently set a specific profile, add "-p PROFILE_NAME" to the target path, but outside of the quotes, replacing "PROFILE_NAME" with the actual profile name you chose.</li> - <li>If you would like to also allow multiple instances of Firefox to run at the same time, add "-no-remote" after the profile name.</li> -</ol> -<p>Once you are all done, click Ok. Do this for each icon you'd like to have a specific profile for. Once done, each one should automatically start with the specified profile.</p> -<h3 id="Linux">Linux</h3> -<p>There is no extremely straightforward way to create custom application launchers in Gnome 3 like there was in Gnome 2. The following tutorial will help get you going overall: <a class="external" href="http://blog.randell.ph/2011/08/01/how-to-create-custom-application-launchers-in-gnome-3/" title="How to create custom application launchers in gnome 3">Gnome 3 Custom application launcher</a>. Once you get to the point of adding a new item, you can have the profile dialog show up every time or set the launcher to launch a specific profile.</p> -<p>If you want to have the profile manager to pop up each time you start Firefox, so you can choose a profile, you will need to set the command line for your new launcher.</p> -<ol> - <li>Set the "command" text field to target the executable file, likely "/usr/bin/firefox", and add the "-p" parameter.</li> -</ol> -<p>If you want individual icons to launch specific profiles, you will need to set the command line for your new launcher. To do this:</p> -<ol> - <li>Set the "command" text field to target the executable file, likely "/usr/bin/firefox", and add the "-p PROFILE_NAME" parameter, replacing "PROFILE_NAME" with the specific profile.</li> - <li>Repeat as necessary for each profile you want to set.</li> - <li>If you would like to also allow multiple instances of Firefox to run at the same time, add "-no-remote" after the profile name.</li> -</ol> -<h3 id="Mac_OSX_2">Mac OSX</h3> -<p>You can find a useful tutorial to set up custom launchers here: <a href="http://spf13.com/post/managing-multiple-firefox-profiles-in-os-x/" title="Managing Multiple Firefox Profiles in OSX">Managing Multiple Firefox Profiles in OSX</a>. Do note it's best to follow all steps in the "Creating the scripts" section, including the "edit Info.plist" step. Leave off the profile name if you want the profile selector to show up every time you launch.</p> -<h2 id="Setting_up_multiple_profiles_for_different_Firefox_Channels">Setting up multiple profiles for different Firefox Channels</h2> -<p>This section will be especially helpful if you are a developer wanting to work with multiple channels and each having their own separate launcher.</p> -<h3 id="Windows_2">Windows</h3> -<p>In Windows, the Aurora and Nightly builds get their own directory in the "Programs" folder, so you don't have to worry about where to store the downloaded files. However, all three will attempt to use the same profile by default, and you'll want to not keep this because the different channels have different levels of features. To set each launcher, follow the Windows instructions at <a href="#Windows">Windows Launcher</a></p> -<h3 id="Linux_2">Linux</h3> -<p>In Linux, things aren't as automatically set up, and you will likely get a prompt to download a tar.bz2 file to extract from. Extract the files to a new directory and use the new launcher instructions from <a href="#Linux">here</a>. The only change you will need to make is the command path. You will want to set it to the directory you extracted the Firefox channel's tar.bz2 file into, and the executable "firefox" file located within. The remaining profile assignment methods will remain the same. You will want to, for sure, add the "-no-remote" part to the end of the command field, so that you could run multiple instances at the same time.</p> -<h3 id="Mac_OSX_3">Mac OSX</h3> -<p>You can find a useful tutorial to set up custom launchers here: <a href="http://spf13.com/post/managing-multiple-firefox-profiles-in-os-x/" title="Managing Multiple Firefox Profiles in OSX">Managing Multiple Firefox Profiles in OSX</a>. Do note it's best to follow all steps in the "Creating the scripts" section, including the "edit Info.plist" step. Also you'll want to change the path in the do shell script to point to the correct .app file for the Firefox channel you want to target.</p> |