<?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>Licess&#039;s Blog &#187; Chrome</title>
	<atom:link href="http://blog.licess.org/tag/chrome/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.licess.org</link>
	<description>关注VPS Linux Nginx MySQL PHP WEB开发 系统管理 服务器架构 Debian CentOS</description>
	<lastBuildDate>Wed, 11 Jan 2012 11:56:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法</title>
		<link>http://blog.licess.org/discuz6-0-chrome/</link>
		<comments>http://blog.licess.org/discuz6-0-chrome/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 04:58:19 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[Web相关]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[切换]]></category>
		<category><![CDATA[编辑器]]></category>
		<category><![CDATA[解决方法]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=956</guid>
		<description><![CDATA[1.直接使用Discuz编辑器的所见即所得模式时： Uncaught TypeError: Cannot call method ‘appendChild’ of /include/javascript/editor.js:129 undefined 2.将Discuz编辑器从代码模式切换到所见即所得模式时（无法切换）： Uncaught TypeError: Cannot call method ‘replace’ of /include/javascript/bbcode.js:387 undefined 第一个错误的出现在editor.js文件中的function setEditorStyle()函数中，解决办法是在 var headNode = editdoc.getElementsByTagName("head")[0]; headNode.appendChild(editcss); 中间加入： if(!headNode){headNode = editdoc.getElementsByTagName("body")[0];}//by ZZR 第二个错误实际是出现在bbcode.js文件中的function bbcode2html(str)函数中，原因是Chrome、Firefox中对函数的处理有点不一样，函数的最后一个元素是push。解决办法是在： re = new RegExp(addslashes(smilies[id]['code']), "g"); 的前面加入： if(isNaN(parseInt(id))) continue; //by ZZR 也可以直接下载：http://bbs.vpser.net/include/javascript/editor.js 和 http://bbs.vpser.net/include/javascript/bbcode.js 覆盖对应目录下的文件 转自：http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html 相关文章：Google浏览器Chrome SSH翻墙设置教程高效率编辑器 VIM－操作篇，非常适合 VIM 新手谷歌拼音输入法同步时提示“网络错误”的解决方法thread.error: can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>1.直接使用Discuz编辑器的所见即所得模式时：<br />
Uncaught TypeError: Cannot call method ‘appendChild’ of /include/javascript/editor.js:129 undefined</p>
<p>2.将Discuz编辑器从代码模式切换到所见即所得模式时（无法切换）：<br />
Uncaught TypeError: Cannot call method ‘replace’ of /include/javascript/bbcode.js:387 undefined</p>
<p>第一个错误的出现在editor.js文件中的function setEditorStyle()函数中，解决办法是在<span id="more-956"></span><br />
var headNode = editdoc.getElementsByTagName("head")[0];<br />
headNode.appendChild(editcss);<br />
中间加入：<br />
if(!headNode){headNode = editdoc.getElementsByTagName("body")[0];}//by ZZR</p>
<p>第二个错误实际是出现在bbcode.js文件中的function bbcode2html(str)函数中，原因是Chrome、Firefox中对函数的处理有点不一样，函数的最后一个元素是push。解决办法是在：<br />
re = new RegExp(addslashes(smilies[id]['code']), "g");<br />
的前面加入：<br />
if(isNaN(parseInt(id))) continue; //by ZZR</p>
<p>也可以直接下载：<a href="http://bbs.vpser.net/include/javascript/editor.js">http://bbs.vpser.net/include/javascript/editor.js</a> 和 <a href="http://bbs.vpser.net/include/javascript/bbcode.js">http://bbs.vpser.net/include/javascript/bbcode.js</a> 覆盖对应目录下的文件</p>
<p>转自：<a href="http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html">http://blog.zxlm.cn/2009/04/%E8%A7%A3%E5%86%B3discuz%E7%BC%96%E8%BE%91%E5%99%A8%E5%9C%A8chromeoperafirefox%E4%B8%8B%E7%9A%84%E4%BD%BF%E7%94%A8%E9%97%AE%E9%A2%98.html</a></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/google-chrome-ssh-switchy/" title="Google浏览器Chrome SSH翻墙设置教程">Google浏览器Chrome SSH翻墙设置教程</a></li><li><a href="http://blog.licess.org/vim/" title="高效率编辑器 VIM－操作篇，非常适合 VIM 新手">高效率编辑器 VIM－操作篇，非常适合 VIM 新手</a></li><li><a href="http://blog.licess.org/google-pinyin-network-error/" title="谷歌拼音输入法同步时提示“网络错误”的解决方法">谷歌拼音输入法同步时提示“网络错误”的解决方法</a></li><li><a href="http://blog.licess.org/thread-error-cant-start-new-thread/" title="thread.error: can&#8217;t start new thread 解决方法">thread.error: can&#8217;t start new thread 解决方法</a></li><li><a href="http://blog.licess.org/htaccess_editor/" title=".htaccess Editor:在线的.htaccess文件生成编辑器">.htaccess Editor:在线的.htaccess文件生成编辑器</a></li><li><a href="http://blog.licess.org/dz60rc1%e7%9a%84htaccess%e6%96%87%e4%bb%b6%e4%b8%8b%e8%bd%bd/" title="DZ60RC1的.htaccess文件下载">DZ60RC1的.htaccess文件下载</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/discuz6-0-chrome/">Permalink</a> |
<a href="http://blog.licess.org/discuz6-0-chrome/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/discuz6-0-chrome/&title=Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/chrome/" rel="tag">Chrome</a>, <a href="http://blog.licess.org/tag/discuz/" rel="tag">discuz</a>, <a href="http://blog.licess.org/tag/%e5%88%87%e6%8d%a2/" rel="tag">切换</a>, <a href="http://blog.licess.org/tag/%e7%bc%96%e8%be%91%e5%99%a8/" rel="tag">编辑器</a>, <a href="http://blog.licess.org/tag/%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/" rel="tag">解决方法</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/discuz6-0-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google浏览器Chrome SSH翻墙设置教程</title>
		<link>http://blog.licess.org/google-chrome-ssh-switchy/</link>
		<comments>http://blog.licess.org/google-chrome-ssh-switchy/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 06:18:42 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[生活琐碎]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=822</guid>
		<description><![CDATA[Chrome就不具体说了，google的产品，也有不少用户群，今天就主要说一下如果 使用Chrome+SSH帐号翻墙。 准备：MyEnTunnel或Tunnelier，Puff 商业版或SSH 帐号一个、Proxy Switchy!、Chrome或Chrome plus。 1、MyEnTunnel设置 首先下载MyEnTunnel， 解压，运行myentunnel目录下面的myentunnel.exe，按照下图所示： 按上图所示填写SSH服务器的IP或域名，SSH端口一般默认即可，用户名和密码填写你购买的SSH帐号 和密码。 本地端口填写：7070，在启动时自动连接、失败时重新连接、启动动态套接字、启用压缩前打 勾。点击保存，再点“连接”。在系统右下角显示为绿色即连接成功。 2、Chrome安装设置 安装就不用再说了，直接到Chrome或Chrome plus下载，按提示 安装即可。 在Chrome中打开：https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj 这个链接。 点击"安装"，会在浏览器下方状态栏的上面出现1个安装插件的警告，如下图： 点击“继续”，会跳到Proxy Switchy!的设置页面，如下图： 按上图红框所标出的位置，修改成如图所示的信息。 Proxy Profiles标签页： 1）Profile Name 随便输入一个名字即可，比如SSH。 2）选择Manual Configuration 3）Socks Proxy：127.0.0.1, Port: 7070（即 前面Myentunnel设置的本地端口），在下面选上Socks V5 点击“Save”按钮保存。 切换到Switch Rules标签页： 1）勾选： Enable Switch Rules 2）勾选： Online Rule List Rule List URL填入：http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt （被墙列表） Reload Every选择：12 Hours [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Chrome就不具体说了，google的产品，也有不少用户群，今天就主要说一下如果 使用Chrome+SSH帐号翻墙。</p>
<p>准备：MyEnTunnel或Tunnelier，<a href="http://item.taobao.com/auction/item_detail-db1-069f7964100593adabb46c6559a8fcea.htm" target="_blank">Puff 商业版</a>或<a href="http://item.taobao.com/auction/item_detail-db1-1690c6e966508dd4a1cc438f9dd823e1.htm" target="_blank">SSH 帐号</a>一个、<a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj" target="_blank">Proxy  Switchy!</a>、<a href="http://www.google.com.hk/chrome" target="_blank">Chrome</a>或<a href="http://www.chromeplus.org/" target="_blank">Chrome plus</a>。</p>
<p>1、MyEnTunnel设置</p>
<p>首先下载<a title="MyEnTunnel" href="http://soft.vpser.net/proxy/myentunnel/myentunnel-unicode.zip" target="_blank">MyEnTunnel</a>，  解压，运行myentunnel目录下面的myentunnel.exe，按照下图所示：</p>
<p><a id="ematt:41" href="http://vpner.licess.cn/content/uploadfile/201001/3427d3e61ed4f67c06e742735be4320020100117212331.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201001/thum-3427d3e61ed4f67c06e742735be4320020100117212331.jpg" border="0" alt="点击查看原图" /></a></p>
<p>按上图所示填写SSH服务器的IP或域名，SSH端口一般默认即可，用户名和密码填写你购买的SSH帐号 和密码。<span id="more-822"></span></p>
<p>本地端口填写：7070，在启动时自动连接、失败时重新连接、<strong>启动动态套接字</strong>、启用压缩前打  勾。点击保存，再点“连接”。在系统右下角<a id="ematt:42" href="http://vpner.licess.cn/content/uploadfile/201001/9ae9ef592184f09ee57e4d776b51e50020100117212830.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201001/9ae9ef592184f09ee57e4d776b51e50020100117212830.jpg" border="0" alt="点击查看原图" /></a>显示为绿色即连接成功。</p>
<p>2、Chrome安装设置</p>
<p>安装就不用再说了，直接到<a href="http://www.google.com.hk/chrome" target="_blank">Chrome</a>或<a href="http://www.chromeplus.org/" target="_blank">Chrome plus</a>下载，按提示 安装即可。</p>
<p>在Chrome中打开：<a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj">https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj</a> 这个链接。</p>
<p><a id="ematt:56" href="http://vpner.licess.cn/content/uploadfile/201006/148654dcaef26c130a042e81d0c3d46520100626134941.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/thum-148654dcaef26c130a042e81d0c3d46520100626134941.jpg" border="0" alt="点击查看原图" /></a></p>
<p>点击"安装"，会在浏览器下方状态栏的上面出现1个安装插件的警告，如下图：</p>
<p><a id="ematt:57" href="http://vpner.licess.cn/content/uploadfile/201006/7a5a138b054a8faef4e5d760924cf2b320100626135122.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/thum-7a5a138b054a8faef4e5d760924cf2b320100626135122.jpg" border="0" alt="点击查看原图" /></a></p>
<p>点击“继续”，会跳到<a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj" target="_blank">Proxy   Switchy!</a>的设置页面，如下图：</p>
<p><a id="ematt:58" href="http://vpner.licess.cn/content/uploadfile/201006/0efe906327f6849393ece414158b81d520100626135302.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/thum-0efe906327f6849393ece414158b81d520100626135302.jpg" border="0" alt="点击查看原图" /></a></p>
<p>按上图红框所标出的位置，修改成如图所示的信息。</p>
<p>Proxy Profiles标签页：</p>
<p>1）Profile Name 随便输入一个名字即可，比如SSH。</p>
<p>2）选择Manual Configuration<br />
3）Socks  Proxy：127.0.0.1, Port:  7070（即 前面Myentunnel设置的本地端口），在下面选上Socks V5</p>
<p>点击“Save”按钮保存。</p>
<p>切换到Switch Rules标签页：</p>
<p>1）勾选： Enable Switch Rules<br />
2）勾选： Online Rule List<br />
Rule List  URL填入：<a href="http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt" target="_blank">http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt</a> （被墙列表）<br />
Reload Every选择：12 Hours<br />
Proxy  Profile选择： SSH（与上面的Profile Name保持一致）<br />
3）勾选：AutoProxy Compatible  List</p>
<p>点击“Save”按钮保存。如下图：</p>
<p><a id="ematt:59" href="http://vpner.licess.cn/content/uploadfile/201006/c5dafa70b247c10824b382be64d9fdf220100626140505.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/thum-c5dafa70b247c10824b382be64d9fdf220100626140505.jpg" border="0" alt="点击查看原图" /></a></p>
<p>关闭Chrome，重新打开。</p>
<p>点击“地球”图标，选择“Auto Switch    Mode”，即根据RuleList（即上面的gfwlist）来智能分辨是否采用代理的方式进行访问。如下图：</p>
<p><a id="ematt:60" href="http://vpner.licess.cn/content/uploadfile/201006/0b02121c26b93a46c840b423d2c64d6c20100626141340.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/0b02121c26b93a46c840b423d2c64d6c20100626141340.jpg" border="0" alt="点击查看原图" /></a></p>
<p>输入被强奸的网站，尽情的享受吧。</p>
<p><a id="ematt:61" href="http://vpner.licess.cn/content/uploadfile/201006/6ae217932d026a39dc69334a258de5d820100626141446.jpg" target="_blank"><img src="http://vpner.licess.cn/content/uploadfile/201006/thum-6ae217932d026a39dc69334a258de5d820100626141446.jpg" border="0" alt="点击查看原图" /></a></p>
</div>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/taobao-remove-vpn-ssh-goods/" title="淘宝开始删除VPN、SSH等翻墙商品">淘宝开始删除VPN、SSH等翻墙商品</a></li><li><a href="http://blog.licess.org/discuz6-0-chrome/" title="Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法">Discuz6.0编辑器在Chrome下代码模式/所见即所得模式无法切换解决方法</a></li><li><a href="http://blog.licess.org/ipv6-howto/" title="IPV6使用教程">IPV6使用教程</a></li><li><a href="http://blog.licess.org/sshd_listen_address/" title="SSH服务监听多个端口">SSH服务监听多个端口</a></li><li><a href="http://blog.licess.org/sshd_config/" title="sshd_config配置 详解">sshd_config配置 详解</a></li><li><a href="http://blog.licess.org/myentunnel-firefox-foxyproxy-ssh/" title="MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙教程">MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙教程</a></li><li><a href="http://blog.licess.org/godaddy_linux_ssh/" title="今天为我的Godaddy Linux主机开通SSH">今天为我的Godaddy Linux主机开通SSH</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/google-chrome-ssh-switchy/">Permalink</a> |
<a href="http://blog.licess.org/google-chrome-ssh-switchy/#comments">15 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/google-chrome-ssh-switchy/&title=Google浏览器Chrome SSH翻墙设置教程">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/chrome/" rel="tag">Chrome</a>, <a href="http://blog.licess.org/tag/ssh/" rel="tag">ssh</a>, <a href="http://blog.licess.org/tag/%e7%bf%bb%e5%a2%99/" rel="tag">翻墙</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/google-chrome-ssh-switchy/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

