Method and apparatus for inserting script into Web application

A web application, technology for inserting a location, used in the field of data processing
CN105224316AInactive Publication Date: 2016-01-06BEIJING ONEAPM COMM TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
BEIJING ONEAPM COMM TECH CO LTD
Publication Date
2016-01-06
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method for inserting a script into a Web application. The method comprises: when receiving a web request sent by a client, determining whether the web request carries a static file identifier; if the web request does not carry the static file identifier, determining flow data returned for the web request; searching for a preset keyword in the flow data, and positioning a script inserting position in the flow data by means of the keyword; and finally, inserting the script into the script inserting position in the flow data, and returning the flow data inserted with the script to the client. Compared with the prior art, the method and the apparatus for inserting the script into the Web application implement the insertion of the script into the Web application that completes the deployment in a manner of the flow data.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of data processing, in particular to a script insertion method and device in a Web application program. Background technique

[0002] A web application is an application program that can be accessed through the web. One of the greatest benefits of web applications is applications that are easily accessible to users. Users only need to install the browser, no need to install other software. A script is an executable file written in a certain format using a specific descriptive language. Scripts can usually be invoked and executed by web applications, and various scripts can implement various functions when invoked. Before realizing the call of the script by the Web application, the script insertion in the Web application is completed first.

[0003] Currently, script insertion in a web application requires pre-writing scripts directly into the web application before the web application is deployed. That ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More