Method and device for calling functions of webpage application

The invention discloses a method and a device for calling functions of webpage application and belongs to the field of computers. The method for calling the functions of the webpage application comprises the following steps: extracting a Web script of a local service called by a rendering engine of a browser, wherein the Web script at least comprises the parameter of the local service called by the rendering engine of the browser; and sending the Web script to a local assembly, and calling a corresponding local service by the local assembly according to the parameter included in the Web script. The device for calling the functions of the webpage application comprises an extracting module, a sending module and a calling module. Through sending the Web script of the local service called by the rendering engine of the browser to the local assembly, the corresponding local service is called by the local assembly, and thus the linkage between the rendering engine of the browser and the local assembly is achieved, functions that a WebApp does not have are offered by the local service, and thus the functions of the WebApp are enlarged, and the expansibility of calling the functions of the WebApp is improved.