教程集 www.jiaochengji.com
教程集 >  操作系统  >  windows  >  正文 怎么修改Google浏览器的安装目录

怎么修改Google浏览器的安装目录

发布时间:2020-04-19   编辑:jiaochengji.com
教程集为您提供怎么修改Google浏览器的安装目录等资源,欢迎您收藏本站,我们将为您提供最新的怎么修改Google浏览器的安装目录资源
谷歌浏览器的安装程序很难进行定制,所以我们没有办法直接修改安装程序来实现修改安装目录的目的,但是可以通过一个小的技巧来制作绿色版的谷歌浏览器。
<script>ec(2);</script>

首先使用上面的方法下载离线版的谷歌浏览器,然后默认安装,安装完之后最好不要允许浏览器。谷歌浏览器的默认安装目录如下:

<table width="620" align="center" border="0" cellpadding="1" cellspacing="1" style="background:#FB7"> <tr> <td width="464" height="27" bgcolor="#FFE7CE"> 代码如下</td> <td width="109" align="center" bgcolor="#FFE7CE" style="cursor:pointer;" onclick="doCopy('copy3462')">复制代码</td> </tr> <tr> <td height="auto" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding:10px;" class="copyclass" id=copy3462>

Win7:
C:Users系统用户名AppDataLocalGoogleChromeApplication
WinXP :
C:Documents and Settings系统用户名Local SettingsApplication DataGoogleChrome

Vista下,Win R运行 C:/Users/你的用户名/AppData/Local/Google/Chrome

</td> </tr> </table>

进入上述目录之后,首先将chrome.exe放到包含版本号的目录中,然后将这个目录拷贝到你所想要放的地方,最后修改这个目录名就可以了,比如可以修改成GoogleChrome。

还有最后一步,就是设置UserData。可以在刚才那个GoogleChrome目录下面创建一个新的目录UserData,然后创建chrome.exe的一个快捷方式,在快捷“目标”后面加上下面的参数:

<table width="620" align="center" border="0" cellpadding="1" cellspacing="1" style="background:#FB7"> <tr> <td width="464" height="27" bgcolor="#FFE7CE"> 代码如下</td> <td width="109" align="center" bgcolor="#FFE7CE" style="cursor:pointer;" onclick="doCopy('copy7518')">复制代码</td> </tr> <tr> <td height="auto" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding:10px;" class="copyclass" id=copy7518>

–user-data-dir=UserData

</td> </tr> </table>

然后启动的时候直接运行这个快捷方式就可以了。

最后卸载刚才安装在系统盘下的Google浏览器就可以了。

注意几点:

1. 如果不将chrome拷贝到版本号的目录下,直接运行chrome.exe则无效;
2. 如果不在添加了–user-data-dir参数的快捷方式下运行程序,则默认情况下的User Data目录还是在系统盘下面。

另一种办法

把chrome从系统目录提取出来

Vista下,Win R运行 C:/Users/你的用户名/AppData/Local/Google/Chrome
XP下,Win R运行 C:/Documents and Settings/你的用户名/Local Settings/Application Data/Google/Chrome

然后把application文件夹复制出来,把文件夹改名为“est的谷歌浏览器”之类的。然后进入这个文件夹,新建一个文件夹,名字叫做est_profile

最后把0.2.149.27目录下的所有文件、文件夹移动到chrome.exe同级目录下。
在chrome.exe目录初始化配置文件

然后Win R打开命令行,cd 到你复制出来的chrome.exe所在路径,运行

<table width="620" align="center" border="0" cellpadding="1" cellspacing="1" style="background:#FB7"> <tr> <td width="464" height="27" bgcolor="#FFE7CE"> 代码如下</td> <td width="109" align="center" bgcolor="#FFE7CE" style="cursor:pointer;" onclick="doCopy('copy1237')">复制代码</td> </tr> <tr> <td height="auto" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding:10px;" class="copyclass" id=copy1237>chrome.exe --first-run --user-data-dir=est_profile
</td> </tr> </table>

建立快捷方式,随时呼叫绿色版的Google Chrome

</td> </tr> </table>

您可能感兴趣的文章:

[关闭]
~ ~