摘要
JavaScript是基于ECMAScript标准的,解释型、轻量级、嵌入式的高级程序设计语言,具有良好的用户应用体验感,其应用十分广泛。随着Web应用的增多,在Web中如何应用JavaScript技术,设计出高效安全的程序成为广大Web爱好者关注的问题。本文以Web应用为基础,对JavaScript导航、屏幕、历史、位置、文档、对话框和定时器等对象的管理和应用进行了说明,对上述对象的应用注意事项进行了阐述,对JavaScript恶意攻击Web异常校验进行了设计,能够为JavaScript在Web中的应用提供借鉴。
JavaScript is a high-level programming language based on ECMAScript standard,which is interpreted,lightweight and embedded.It has a good user experience and is widely used.With the increase of Web applications,how to apply javascript technology in Web and design efficient and safe programs has become the concern of the majority of Web enthusiasts.Based on the Web application,this paper describes the management and application of JavaScript navigation,screen,history,location,document,dialog box and timer,describes the application precautions of the above objects,and designs the abnormal verification of JavaScript malicious attack Web,which can provide reference for the application of JavaScript in Web.
作者
易灵
Yi Ling(Guizhou Gty Vocational College,Guiyang Guizhou 550025,China)
出处
《信息与电脑》
2020年第18期61-63,共3页
Information & Computer