阅读:4050回复:1
谁能给个渔网?
升级到1.0.1,btchina又不能浏览了。
能说明一下像madfox这样的加强功能是如何实现的吗? |
|
1楼#
发布于:2005-03-01 16:08
areta:升级到1.0.1,btchina又不能浏览了。 让firefox支持jscript.encode的可能的实现方式,好象除了btchina,还没见过谁用这个蠢玩意。 在firefox/mozilla里加入对jscript.encode的支持应该不是难事。下面是可能的实现方式,未经求证。 首先需要修改nsParserUtils.cpp中的nsParserUtils::IsJavaScriptLanguage,加入jscript.encode这样的language属性。 对jscript.encode的decode可以放在nsHTMLContentSink.cpp的HTMLContentSink:: ProcessSCRIPTTag部分,但更合适的是放在nsHTMLScriptElement::AppendChildTo或者 nsHTMLScriptElement::GetText。 具体decode的方法可以参见www.virtualconspiracy.com |
|
|