<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>开心e点 &#187; chrome</title>
	<atom:link href="http://www.ebnd.cn/tag/chrome/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ebnd.cn</link>
	<description>好好学习 天天向上</description>
	<lastBuildDate>Tue, 21 Jun 2011 15:00:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Chrome 下重载 pac 代理设置</title>
		<link>http://www.ebnd.cn/2010/12/15/reload-pac-proxy-in-chrome/</link>
		<comments>http://www.ebnd.cn/2010/12/15/reload-pac-proxy-in-chrome/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 04:49:55 +0000</pubDate>
		<dc:creator>dandan</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.ebnd.cn/?p=607</guid>
		<description><![CDATA[Chrome 浏览器中设置 socks 代理前面介绍过了。如果修改代理的方式，比如换成“直接连接”等，Chrome 是能马上探测到这种变化从而用新的代理设置的；但是如果修改了 pac 文件中的内容，不重启 Chrome 的话，是不会重新加载最新的 pac 代理设置的，每次都要重启的话那还是太不方便了。 其实这个问题是可以解决的，也很简单，进入 chrome://net-internals 或是 about:net-internals， 会出现一个很多 Tab 页的配置，选中 Proxy，然后点 “Re-apply settings”，就可以立即让改动的代理生效了。 关于 chrome://net-internals 的文档在此，还是挺有意思的。有人说这是 Chrome 自带的抓包工具。一个浏览器带抓包的功能，似乎有点越俎代庖，但是如果从 Chrome OS 的角度来看，则顺理成章了。 相关文章十二月 7, 2010 -- 通过 http 代理使用 subversion (0)九月 10, 2009 -- Windows XP 下 Chrome 浏览器 SOCKS 代理设置 (1)三月 6, 2011 -- Windows / Linux [...]]]></description>
			<content:encoded><![CDATA[<p>Chrome 浏览器中设置 socks 代理<a href="http://www.ebnd.cn/2009/09/10/socks-proxy-settings-in-chrome-winxp/" title="Windows XP 下 Chrome 浏览器 SOCKS 代理设置">前面介绍过了</a>。如果修改代理的方式，比如换成“直接连接”等，Chrome 是能马上探测到这种变化从而用新的代理设置的；但是如果修改了 pac 文件中的内容，不重启 Chrome 的话，是不会重新加载最新的 pac 代理设置的，每次都要重启的话那还是太不方便了。</p>
<p>其实这个问题是可以解决的，也很简单，进入 chrome://net-internals 或是 about:net-internals， 会出现一个很多 Tab 页的配置，选中 Proxy，然后点 “Re-apply settings”，就可以立即让改动的代理生效了。</p>
<p>关于 chrome://net-internals 的文档<a href="http://www.chromium.org/developers/design-documents/view-net-internals">在此</a>，还是挺有意思的。有人说这是 Chrome 自带的抓包工具。一个浏览器带抓包的功能，似乎有点越俎代庖，但是如果从 Chrome OS 的角度来看，则顺理成章了。</p>
<p><br/></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li>十二月 7, 2010 -- <a href="http://www.ebnd.cn/2010/12/07/subversion-over-http-proxy/" title="通过 http 代理使用 subversion ">通过 http 代理使用 subversion </a> (0)</li><li>九月 10, 2009 -- <a href="http://www.ebnd.cn/2009/09/10/socks-proxy-settings-in-chrome-winxp/" title="Windows XP 下 Chrome 浏览器 SOCKS 代理设置">Windows XP 下 Chrome 浏览器 SOCKS 代理设置</a> (1)</li><li>三月 6, 2011 -- <a href="http://www.ebnd.cn/2011/03/06/guide-to-symbolic-link/" title="Windows / Linux 下使用符号链接完全指南">Windows / Linux 下使用符号链接完全指南</a> (1)</li><li>二月 22, 2011 -- <a href="http://www.ebnd.cn/2011/02/22/edit-browser-cookies/" title="如何修改浏览器Cookie">如何修改浏览器Cookie</a> (1)</li><li>一月 27, 2011 -- <a href="http://www.ebnd.cn/2011/01/27/software-collection-recommendation/" title="常用软件">常用软件</a> (0)</li><li>一月 11, 2011 -- <a href="http://www.ebnd.cn/2011/01/11/which-program-is-using-a-port/" title="查看占用端口的是什么程序">查看占用端口的是什么程序</a> (1)</li><li>十一月 28, 2010 -- <a href="http://www.ebnd.cn/2010/11/28/embedding-groovy-script-in-windows-bat/" title="Windows .bat 文件中执行 Groovy 脚本">Windows .bat 文件中执行 Groovy 脚本</a> (0)</li><li>四月 28, 2010 -- <a href="http://www.ebnd.cn/2010/04/28/myentunnel-proxy-sharing/" title="MyEnTunnel 代理共享">MyEnTunnel 代理共享</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ebnd.cn/2010/12/15/reload-pac-proxy-in-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP 下 Chrome 浏览器 SOCKS 代理设置</title>
		<link>http://www.ebnd.cn/2009/09/10/socks-proxy-settings-in-chrome-winxp/</link>
		<comments>http://www.ebnd.cn/2009/09/10/socks-proxy-settings-in-chrome-winxp/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 00:01:07 +0000</pubDate>
		<dc:creator>dandan</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[troubleshoot]]></category>

		<guid isPermaLink="false">http://www.ebnd.cn/?p=145</guid>
		<description><![CDATA[时间真的过的很快，Google 的 Chrome 浏览器出来也有一年多了。一出来的时候就装了用过，却发现还是有很多待完善的地方，很多方面还是比不上 Firefox，也不是很稳定，除了速度快这个最大的优点以外。 但是最近重新装了 3.0.x 的 DEV 版和 4.0.x BETA 版的 Chrome 以后，真的觉得很不错，浏览器本身的速度和打开网页的速度仍旧很快，甚至更快了，而且一些以前棘手的问题也在一个个的被消灭了，比如这个点击 Tab 会导致到另外一个独立的 Window 的bug，也可以像 Firefox 一样点击 Ctrl + Shift + T 打开之前关闭的 Tab 页了，对 Linux 的支持也越来越好，用了原生的 GTK；MAC 的版本也在稳步前进中，一些新的功能比如插件的支持也在实现了并在不断的完善中，开发文档也发布了，等等等等。所以最近用 Chrome 越来越多，其他的浏览器反而少了。 不过还是有个问题非常困扰，就是不支持 SOCKS 代理。因为在公司上网，由于政策的限制，有些网站是被屏蔽的，幸好有一些代理可以用。IE 下用 PAC 文件代理设置，只要类似于 “SOCKS x.x.x.x:1080” 就可以了，Firefox 下用插件 FoxyProxy，问题都不大。 Chrome 的代理设置用的是跟 IE 一样的系统代理设置，结果发现通过 SOCKS 代理出去的时候，总是报错： 错误 320 (net::ERR_INVALID_RESPONSE): 未知错误。 [...]]]></description>
			<content:encoded><![CDATA[<p>时间真的过的很快，<a title="http://www.google.com/" href="http://www.google.com/" target="_blank">Google </a>的 <a title="http://www.google.com/chrome" href="http://www.google.com/chrome" target="_blank">Chrome </a>浏览器出来也有一年多了。一出来的时候就装了用过，却发现还是有很多待完善的地方，很多方面还是比不上 Firefox，也不是很稳定，除了速度快这个最大的优点以外。</p>
<p>但是最近重新装了 3.0.x 的 DEV 版和 4.0.x BETA 版的 Chrome 以后，真的觉得很不错，浏览器本身的速度和打开网页的速度仍旧很快，甚至更快了，而且一些以前棘手的问题也在一个个的被消灭了，比如这个<a title="http://code.google.com/p/chromium/issues/detail?id=2993&amp;can=1&amp;q=drag%20tab%20high&amp;colspec=ID%20Stars%20Pri%20Area%20Type%20Status%20Summary%20Modified%20Owner%20Mstone" href="http://code.google.com/p/chromium/issues/detail?id=2993&amp;can=1&amp;q=drag%20tab%20high&amp;colspec=ID%20Stars%20Pri%20Area%20Type%20Status%20Summary%20Modified%20Owner%20Mstone" target="_blank">点击 Tab 会导致到另外一个独立的 Window 的bug</a>，也可以像 Firefox 一样点击 Ctrl + Shift + T 打开之前关闭的 Tab 页了，对 Linux 的支持也越来越好，用了原生的 <a title="http://groups.google.com/group/chromium-dev/msg/f3507e2ded99b354" href="http://groups.google.com/group/chromium-dev/msg/f3507e2ded99b354" target="_blank">GTK</a>；MAC 的版本也在稳步前进中，一些新的功能比如<a title="http://blog.chromium.org/2009/09/extensions-status-on-runway-getting.html" href="http://blog.chromium.org/2009/09/extensions-status-on-runway-getting.html" target="_blank">插件的支持</a>也在实现了并在不断的完善中，<a title="http://code.google.com/chrome/extensions/" href="http://code.google.com/chrome/extensions/" target="_blank">开发文档</a>也发布了，等等等等。所以最近用 Chrome 越来越多，其他的浏览器反而少了。</p>
<p>不过还是有个问题非常困扰，就是<a title="http://code.google.com/p/chromium/issues/detail?id=469" href="http://code.google.com/p/chromium/issues/detail?id=469" target="_blank">不支持 SOCKS 代理</a>。因为在公司上网，由于政策的限制，有些网站是被屏蔽的，幸好有一些代理可以用。IE 下用 <a title="http://en.wikipedia.org/wiki/PAC" href="http://en.wikipedia.org/wiki/PAC" target="_blank">PAC</a> 文件代理设置，只要类似于 “<span style="color: #0000ff;">SOCKS x.x.x.x:1080</span>” 就可以了，Firefox 下用插件 <a title="http://foxyproxy.mozdev.org/" href="http://foxyproxy.mozdev.org/" target="_blank">FoxyProxy</a>，问题都不大。</p>
<p>Chrome 的代理设置用的是跟 IE 一样的系统代理设置，结果发现通过 SOCKS 代理出去的时候，总是报错：</p>
<ul>
<li><span style="background-color: #ffffff;">错误 320 (net::ERR_INVALID_RESPONSE): 未知错误。</span></li>
</ul>
<p>所以访问那些被屏蔽的网站，都需要特地在开 IE 才行，很是不方便。</p>
<p>后来注意到其他人给 Chrome 提的那个 <a title="http://code.google.com/p/chromium/issues/detail?id=469" href="http://code.google.com/p/chromium/issues/detail?id=469" target="_blank">issue </a>被解决了，但是试过，Windows 下还是不行，Linux 下倒是可以的了。</p>
<p>再过了半个月，看这个问题就要沉下去了，就也去<a title="http://code.google.com/p/chromium/issues/detail?id=469" href="http://code.google.com/p/chromium/issues/detail?id=469" target="_blank">那里</a>提了自己的问题， 在跟回复的人讨论了之后，才发现了一个解决的办法，<span style="background-color: #ffffff;">其实只要用 “<span style="color: #0000ff;">SOCKS<span style="color: #ff0000;">5</span> x.x.x.x:1080</span>” 就可以了，其中一定要写上 <span style="color: #ff0000;">5</span> 这个版本。</span></p>
<p><span style="background-color: #ffffff;">办法虽然是找到了，但其实还是有两个疑问的：</span></p>
<ol>
<li>为什么 IE 下面不用配置 socks5 的版本但是代理也是用的好好的？</li>
<li>即使这个方案，也还是不够完善，代理工作的<a title="http://code.google.com/p/chromium/issues/detail?id=469#c44" href="http://code.google.com/p/chromium/issues/detail?id=469#c44" target="_blank">并不是很稳定</a>，时好时坏，坏的时候，点“刷新”，网卡上都抓不到包的，也就是说 Chrome 并没有发出浏览的请求包。</li>
</ol>
<p>不管怎样，总算是找到了一个让 WIndows 下 SOCKS 代理工作的办法了，大部分时候也都还是可以用的。</p>
<p>真的是希望自己也有能力，可以把第2个问题自己查出来解决掉，呵呵。</p>
<p><br class="spacer_" /></p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li>十二月 15, 2010 -- <a href="http://www.ebnd.cn/2010/12/15/reload-pac-proxy-in-chrome/" title="Chrome 下重载 pac 代理设置">Chrome 下重载 pac 代理设置</a> (0)</li><li>四月 28, 2010 -- <a href="http://www.ebnd.cn/2010/04/28/myentunnel-proxy-sharing/" title="MyEnTunnel 代理共享">MyEnTunnel 代理共享</a> (2)</li><li>三月 6, 2011 -- <a href="http://www.ebnd.cn/2011/03/06/guide-to-symbolic-link/" title="Windows / Linux 下使用符号链接完全指南">Windows / Linux 下使用符号链接完全指南</a> (1)</li><li>二月 22, 2011 -- <a href="http://www.ebnd.cn/2011/02/22/edit-browser-cookies/" title="如何修改浏览器Cookie">如何修改浏览器Cookie</a> (1)</li><li>一月 27, 2011 -- <a href="http://www.ebnd.cn/2011/01/27/software-collection-recommendation/" title="常用软件">常用软件</a> (0)</li><li>一月 11, 2011 -- <a href="http://www.ebnd.cn/2011/01/11/which-program-is-using-a-port/" title="查看占用端口的是什么程序">查看占用端口的是什么程序</a> (1)</li><li>十二月 21, 2010 -- <a href="http://www.ebnd.cn/2010/12/21/how-to-peel-a-banana/" title="香蕉的头和屁股">香蕉的头和屁股</a> (1)</li><li>十二月 7, 2010 -- <a href="http://www.ebnd.cn/2010/12/07/subversion-over-http-proxy/" title="通过 http 代理使用 subversion ">通过 http 代理使用 subversion </a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ebnd.cn/2009/09/10/socks-proxy-settings-in-chrome-winxp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

