<?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>梦随风度dê窝 &#187; eWebEditor</title>
	<atom:link href="http://www.youthfly.net/archives/tag/ewebeditor/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youthfly.net</link>
	<description>在风中游走的灵魂</description>
	<lastBuildDate>Wed, 01 Feb 2012 06:01:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>修改eWebEditor编辑器，让其支持IE6.IE7.IE8等浏览器的方法</title>
		<link>http://www.youthfly.net/archives/517.html</link>
		<comments>http://www.youthfly.net/archives/517.html#comments</comments>
		<pubDate>Sun, 17 Jan 2010 12:12:27 +0000</pubDate>
		<dc:creator>梦随风度</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[eWebEditor]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[使用eWebEditor作为网站的编辑器有好长一段时间了。虽然eWebEditor存在很多不足，但仍然放弃不了。现在游览器不断升级，有不少用户已经使用eWebEditor。而eWebEditor在IE7、IE8、FF下有些不正常，主要表现在点击工具栏无效，很纠结呀。在网上找来下面的修改方法：1、找到下面代码if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”);修改为if(navigator.appVersion.match(/8./i)==&#39;8.&#39; &#124;&#124; navigator.appVersion.match(/7./i)==&#39;7.&#39; &#124;&#124; navigator.appVersion.match(/MAXTHON/i)==&#39;MAXTHON&#39;){if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “onclick(event)”);}else{if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”);}另外，eWebEditor的安全性也不怎的。主要是Upload.asp的上传过滤不全。在Upload.asp文件里面,找到这句话sAllowExt = Replace(UCase(sAllowExt), “ASP”, “”)把这句话替换为Do While InStr(sAllowExt, “ASP”) or InStr(sAllowExt, “CER”) or InStr(sAllowExt, “ASA”) or InStr(sAllowExt, “CDX”) or InStr(sAllowExt, “HTR”)sAllowExt = Replace(sAllowExt, “ASP”, “”)sAllowExt = Replace(sAllowExt, “CER”, “”)sAllowExt = Replace(sAllowExt, “ASA”, “”)sAllowExt = Replace(sAllowExt, “CDX”, “”)sAllowExt = Replace(sAllowExt, “HTR”, [...]]]></description>
			<content:encoded><![CDATA[<p>使用eWebEditor作为网站的编辑器有好长一段时间了。虽然eWebEditor存在很多不足，但仍然放弃不了。现在游览器不断升级，有不少用户已经使用eWebEditor。而eWebEditor在IE7、IE8、FF下有些不正常，主要表现在点击工具栏无效，很纠结呀。<br/>在网上找来下面的修改方法：<br/>1、找到下面代码<br/>if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”);<br/>修改为<br/>if(navigator.appVersion.match(/8./i)==&#39;8.&#39; || navigator.appVersion.match(/7./i)==&#39;7.&#39; || navigator.appVersion.match(/MAXTHON/i)==&#39;MAXTHON&#39;)<br/>{<br/>if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “onclick(event)”);<br/>}<br/>else<br/>{<br/>if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”);<br/>}<br/><br/>另外，eWebEditor的安全性也不怎的。主要是Upload.asp的上传过滤不全。<br/><br/>在Upload.asp文件里面,找到这句话sAllowExt = Replace(UCase(sAllowExt), “ASP”, “”)<br/><br/>把这句话替换为<br/>Do While InStr(sAllowExt, “ASP”) or InStr(sAllowExt, “CER”) or InStr(sAllowExt, “ASA”) or InStr(sAllowExt, “CDX”) or InStr(sAllowExt, “HTR”)<br/>sAllowExt = Replace(sAllowExt, “ASP”, “”)<br/>sAllowExt = Replace(sAllowExt, “CER”, “”)<br/>sAllowExt = Replace(sAllowExt, “ASA”, “”)<br/>sAllowExt = Replace(sAllowExt, “CDX”, “”)<br/>sAllowExt = Replace(sAllowExt, “HTR”, “”)<br/>sAllowExt = Replace(sAllowExt, “CGI”, “”)<br/>sAllowExt = Replace(sAllowExt, “ASPX”, “”)&#39;<br/>sAllowExt = Replace(sAllowExt, “ASP .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “CER .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “ASA .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “CDX .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “HTR .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “CGI .JPG”, “”)<br/>sAllowExt = Replace(sAllowExt, “ASPX .JPG”, “”)<br/>Loop</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youthfly.net/archives/517.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

