节点文献
Rhino解析引擎的分析与改进
Analysis and Improvement of Rhino Engine
【Author】 LI Rui WEI Geng-yu WANG Cong ZHANG Dong-mei (School of Computer Science & Technology,Beijing University of Posts and Telecommunications,Beijing 100876,China)
【机构】 北京邮电大学计算机学院;
【摘要】 本文在研究分析Rhino解析引擎的工作原理和执行过程的基础上,针对Rhino解析引擎无法模拟浏览器内置对象和无法解析这些内置对象动态添加的属性和方法的现象进行改进。通过添加对DOM操作的支持,使Rhino可以模拟浏览器内置对象。通过修改在浏览器内置对象中的查找方式,使Rhino可以解析浏览器内置对象动态添加的属性和方法。实验证明,本文的改进能使Rhino解析更多的网页。
【Abstract】 Basing on the study and analysis of Rhino’s works and implementation process.The purpose is to improve the situation that Rhino cannot simulate the browser built-in objects and cannot analyze built-in’s properties and methods which these objects added dynamically.By adding the support of DOM operations,Rhino can simulate the browser built-in objects.By modifying the methods in the built-in objects,Rhino can resolve to analyze built-in’s properties and methods which these objects added dynamically.Experiments show that this improvement can make Rhino resolve more pages.
【Key words】 Rhino Engine; DOM; built-in objects; JavaScript;
- 【会议录名称】 2010年全国通信安全学术会议论文集
- 【会议名称】2010年全国通信安全学术会议
- 【会议时间】2010-08-07
- 【会议地点】中国云南昆明
- 【分类号】TP391.3
- 【主办单位】中国通信学会通信安全技术委员会